File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,6 @@ __python_argcomplete_which() {
124
124
_python_argcomplete_global() {
125
125
126
126
if [[ -n "${ZSH_VERSION-}" ]]; then
127
- if [[ "${_matcher_num-}" -gt 1 ]]; then
128
- # Return early if the completer is called multiple times in the same completion run.
129
- # Currently the only known occurrence of this is in zsh when a matcher-list zstyle is declared.
130
- # When this happens, _matcher_num is incremented past 1.
131
- return
132
- fi
133
127
# Store result of a regex match in the
134
128
# BASH_REMATCH variable rather than MATCH
135
129
setopt local_options BASH_REMATCH
Original file line number Diff line number Diff line change 34
34
local IFS=$'\013'
35
35
local script="%(argcomplete_script)s"
36
36
if [[ -n "${ZSH_VERSION-}" ]]; then
37
- if [[ "${_matcher_num-}" -gt 1 ]]; then
38
- # Return early if the completer is called multiple times in the same completion run.
39
- # Currently the only known occurrence of this is in zsh when a matcher-list zstyle is declared.
40
- # When this happens, _matcher_num is incremented past 1.
41
- return
42
- fi
43
37
local completions
44
38
completions=($(IFS="$IFS" \
45
39
COMP_LINE="$BUFFER" \
You can’t perform that action at this time.
0 commit comments