Adding pip3 completion

pull/915/head
LanikSJ 2017-03-06 16:04:42 -08:00
parent 6de4f3f79b
commit 7d11a9d935
No known key found for this signature in database
GPG Key ID: C043F668DB04FD0E
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