-
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Description
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:
#complete -o default -D -F _python_argcomplete_global
Then I can do:
macbook-pro:~ jmlopez$ echo $PA<TAB>
macbook-pro:~ jmlopez$ echo $PATH
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.
eval "$(register-python-argcomplete my-awesome-script.py)"
Not sure if this is happening with others, can someone check if this is bug on argparse? I'm using bash 4.2:
macbook-pro:~ jmlopez$ echo $BASH_VERSION
4.2.45(2)-release
Metadata
Metadata
Assignees
Labels
No labels