Merge pull request #915 from LanikSJ/pip3-completion

Adding pip3 completion
pull/917/head
Nils Winkler 2017-03-10 07:58:54 +01:00 committed by GitHub
commit 7f0e2c352d
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# pip bash completion start
_pip_completion()
{
COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
COMP_CWORD=$COMP_CWORD \
PIP_AUTO_COMPLETE=1 $1 ) )
}
complete -o default -F _pip_completion pip3
# pip bash completion end