Adding pip3 completion

This commit is contained in:
LanikSJ
2017-03-06 16:04:42 -08:00
parent 6de4f3f79b
commit 7d11a9d935

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