diff options
Diffstat (limited to 'Completion/Core/_match')
-rw-r--r-- | Completion/Core/_match | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_match b/Completion/Core/_match index ad481f23b..5dc7936bc 100644 --- a/Completion/Core/_match +++ b/Completion/Core/_match @@ -9,6 +9,8 @@ # expand-or-complete function because otherwise the pattern will # be expanded using globbing. +[[ _matcher_num -gt 1 ]] && return 1 + local tmp opm="$compstate[pattern_match]" ret=0 orig ins local curcontext="${curcontext/:[^:]#:/:match:}" |