mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +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
|