slackbuilds_ponce/python/pip/pip.sh

10 lines
233 B
Bash
Raw Normal View History

# 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