Add pip completion

pull/209/head
Ken Sheedlo 2013-05-22 00:37:24 -06:00
parent efd6e96e23
commit b9f7a817a4
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 pip
# pip bash completion end