aboutsummaryrefslogtreecommitdiff
path: root/python/pip/pip.sh
blob: b9b1ea1477afc3a998d64a86dff338c805978840 (plain)
1
2
3
4
5
6
7
8
9
# bash completion for pip

_pip_completion()
{
    COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
                   COMP_CWORD=$COMP_CWORD \
                   PIP_AUTO_COMPLETE=1 $1 ) )
}
complete -o default -F _pip_completion pip