We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe02ab7 commit 23e1c8bCopy full SHA for 23e1c8b
news/12166.bugfix
@@ -0,0 +1 @@
1
+Fix completion script for zsh
tests/functional/test_completion.py
@@ -49,13 +49,13 @@
49
COMP_CWORD=$((CURRENT-1)) \\
50
PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null )
51
}
52
- if [[ $zsh_eval_context[-1] == loadautofunc ]]; then
53
- # autoload from fpath, call function directly
54
- __pip "$@"
55
- else
56
- # eval/source/. command, register function for later
57
- compdef __pip -P 'pip[0-9.]#'
58
- fi""",
+if [[ $zsh_eval_context[-1] == loadautofunc ]]; then
+ # autoload from fpath, call function directly
+ __pip "$@"
+else
+ # eval/source/. command, register function for later
+ compdef __pip -P 'pip[0-9.]#'
+fi""",
59
),
60
(
61
"powershell",
0 commit comments