-
Notifications
You must be signed in to change notification settings - Fork 3
OSX error - Bash 3.2 compatibility #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for reporting that! Which version of bash are you using? Paste the output of Does the completion work fine after showing that error? I heard that macOS ships very old version of bash by default because of licensing issues, that may be the reason |
Hey, Bash version:
In regards to if it works normally: I'm afraid I haven't tested it that much, but when I initially installed it out was throwing errors when trying to complete a partially complete element (file or directory I can't remember). But I may have that wrong! |
Yeah... That's bash from 2007. Very old. I think it'll be fun tweaking bcpp to work on that, but I'm not sure when I'll get to that. This weekend or the next one maybe. Bash 3.2 has first appeared in Ubuntu 7.04. It was a fine release, I'm looking forward to launching it in a virtual machine :) |
Can confirm it's working now. All except when I do the following: ...And then TAB. "etc" is a directory and I would expect it to add the slash and then TAB again to start looping over the files and directories within "etc". But it just stops and doesn't autocomplete. It does this with all directories |
I confirmed the reported behavior and created a new issue #10 to track that. I'm glad you've got the completion working :) I'll leave this issue open to investigate compatibility with bash 3.2 |
This bash version is provided by default in macOS This container will be used for working on issue #8
While this was a fun exercise in software archaeology, adding support for bash 3.2 turned out quite difficult. I do not have enough time and motivation to work on this anymore. If anyone wishes to pick up where I left, I will gladly review a PR. If you need help getting there, I'm also available for discussion. |
The following line give me an error when installed on macOS Mojave (10.14.6)
bash-complete-partial-path/bash_completion
Line 306 in 11771a5
Other than that, great work!
The text was updated successfully, but these errors were encountered: