Merge pull request #209 from ksheedlo/master

pip completion
pull/211/head
Travis Swicegood 2013-05-22 12:23:21 -07:00
commit 8d7a9cc1bb
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