Skip to content
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

Source user's .bash_completion.d #67

Closed
arichiardi opened this issue Aug 19, 2016 · 2 comments
Closed

Source user's .bash_completion.d #67

arichiardi opened this issue Aug 19, 2016 · 2 comments

Comments

@arichiardi
Copy link

Hello and thanks for this awesome project!

I was wondering if it is a good idea to source files from $HOME/bash_completion.d as well.

I have a couple of examples where I need to keep the files local to a single user with no access to /etc.

I know I have a single file in ~ but the script come separate and I'd like the idea to just dump stuff in a folder like in /etc.

Thanks a lot for your (and contributor's) work!

@scop
Copy link
Owner

scop commented Aug 19, 2016

We already load user completions on demand from $BASH_COMPLETION_USER_DIR, grep for the variable name in bash_completion to see the default. The whole /etc/bash_completion.d dir and the associated eager loading mechanism is deprecated, so I don't plan to add a user counterpart to it.

@scop scop closed this as completed Aug 19, 2016
@arichiardi
Copy link
Author

Oh didn't find this in my ubuntu (16.04) that's why it was not working. I need to upgrade the script. Sorry about the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants