-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
chmod 644 /etc/bash_completion.d/argbash ? #116
Comments
Could you please confirm that this is still an issue in github master? I hope that it got resolved already as #104 |
Well, I just realized another thing: The path construction in You set the following defaults: Lines 45 to 49 in c73f667
And then construct paths like this: Line 166 in c73f667
This cannot work... and will (in my case) result in the attempt to mkdir -p "///home/salim/.local/bin" I've now succesfully installed the argbash on user-level (Ubuntu 20.04) using: make install ROOT="" PREFIX=home/salim/.local BASH_COMPLETION_DIRECTORY=home/salim/.local/share/bash-completion INSTALL_COMPLETION=yes ( Remaining issue:
I have no idea (I only tested the latest version 2.8.1) and I don't feel like cluttering up my system anymore with files that have been installed bypassing proper package managers, sorry. The bash-completion file installed on user-level by the above command has exection bits set (but that's probably not what you wanted to know): $ ls -1la /home/salim/.local/share/bash-completion/argbash
-rwxrwxr-x 1 salim salim 1370 Jul 9 18:59 /home/salim/.local/share/bash-completion/argbash |
What's wrong with |
Ah crap, you're right. 🤐 Didn't realize that, thanks. |
I close this as duplicate of #104, as a new version will be released later this month, you can reopen if you still see the issue. |
After installing argbash to
/usr/bin/
following the official installation instructions and including bash completion, i.e.:I noticed that the bash completion file
/etc/bash_completion.d/argbash
has executable bits set while all the other files in the same folder don't.:Therefore I wonder if it would make sense to
chmod 644
the file/etc/bash_completion.d/argbash
in the Makefile. I'm running Ubuntu 16.04 and I don't know if the bash completion scripts need to be executable in other distros.The text was updated successfully, but these errors were encountered: