mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
10 lines
233 B
Bash
10 lines
233 B
Bash
|
# 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
|