touch up
modified: completion/available/pip.completion.bash modified: completion/available/pip3.completion.bashpull/1475/head
parent
d85a254429
commit
d54577f992
|
|
@ -1,2 +1,10 @@
|
||||||
# https://pip.pypa.io/en/stable/user_guide/#command-completion
|
# https://pip.pypa.io/en/stable/user_guide/#command-completion
|
||||||
|
# Of course, you should first install the pip, say on Debian:
|
||||||
|
# sudo apt-get install python-pip
|
||||||
|
# sudo apt-get install python3-pip
|
||||||
|
# If the pip package is installed within virtual environments, say, python managed by pyenv,
|
||||||
|
# you should first initilization the corresponding environment.
|
||||||
|
# So that the pip/pip3 is in system's path.
|
||||||
|
if command -v pip >/dev/null; then
|
||||||
eval "$(pip completion --bash)"
|
eval "$(pip completion --bash)"
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,11 @@
|
||||||
# https://pip.pypa.io/en/stable/user_guide/#command-completion
|
# https://pip.pypa.io/en/stable/user_guide/#command-completion
|
||||||
|
# Of course, you should first install the pip, say on Debian:
|
||||||
|
# sudo apt-get install python-pip
|
||||||
|
# sudo apt-get install python3-pip
|
||||||
|
# If the pip package is installed within virtual environments, say, python managed by pyenv,
|
||||||
|
# you should first initilization the corresponding environment.
|
||||||
|
# So that the pip/pip3 is in system's path.
|
||||||
|
if command -v pip3 >/dev/null; then
|
||||||
eval "$(pip3 completion --bash)"
|
eval "$(pip3 completion --bash)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue