mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 06:58:01 +00:00
python: Remove pip completion from prezto local
pip completion is bundled with Zsh 5.9. Remove it from prezto local to avoid shadowing the bundled completion.
This commit is contained in:
parent
8ee9d1bbfe
commit
8d00c51900
@ -1,19 +0,0 @@
|
|||||||
#compdef -P pip[0-9.]#
|
|
||||||
#autoload
|
|
||||||
|
|
||||||
#
|
|
||||||
# Pip completion, delegating to pip to do all the completion work.
|
|
||||||
#
|
|
||||||
# Authors:
|
|
||||||
# Indrajit Raychaudhuri <irc@indrajit.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
if (( $+commands[$words[1]] )); then
|
|
||||||
|
|
||||||
function _pip_completion {
|
|
||||||
compadd -- $( COMP_WORDS="$words[*]" COMP_CWORD=$(( CURRENT - 1 )) \
|
|
||||||
PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null )
|
|
||||||
}
|
|
||||||
_pip_completion "$@"
|
|
||||||
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user