-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
~/.bash_completion.d/python-argcomplete.sh prevents other completions #67
Comments
I found some bash reference on
It seems that adding the
Now it completes the environment variables as well. |
Thank you for your contribution. I wasn't aware of the difference, and see no reason not to add Released in v0.6.6, please give it a try. |
Good to know, I hope this doesn't cause any other side effects. I have been testing it with my scripts and my regular use of |
Although it can be overridden with |
Thank you for reporting @jiasli. This appears to be an oversight. Would you like to submit a PR? |
Sure. With pleasure! |
I noticed a while ago that when I source the script
python-argcomplete.sh
I cannot tab to complete environment variables. If I comment the last line in the script:Then I can do:
As soon as I activate the global completer then it doesn't do the environment variable completion anymore. This behavior does not happen when registering an awesome script, i.e.
Not sure if this is happening with others, can someone check if this is bug on argparse? I'm using bash 4.2:
The text was updated successfully, but these errors were encountered: