about summary refs log tree commit diff
path: root/Completion/Core/_expand
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-17 10:59:46 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-17 10:59:46 +0000
commit0e3f4cecde90d9c07bfae1a9d522b285bcc8d6a3 (patch)
treefcd47ed650a154650b9c11111338fed7ab22932e /Completion/Core/_expand
parentf82d790d908588684a9f19ace5523a033f0cde99 (diff)
downloadzsh-0e3f4cecde90d9c07bfae1a9d522b285bcc8d6a3.tar.gz
zsh-0e3f4cecde90d9c07bfae1a9d522b285bcc8d6a3.tar.xz
zsh-0e3f4cecde90d9c07bfae1a9d522b285bcc8d6a3.zip
zsh-workers/9772
Diffstat (limited to 'Completion/Core/_expand')
-rw-r--r--Completion/Core/_expand2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand
index 2bb7d4fb3..8279a1406 100644
--- a/Completion/Core/_expand
+++ b/Completion/Core/_expand
@@ -7,6 +7,8 @@
 # the expansions done produce no result or do not change the original
 # word from the line.
 
+[[ _matcher_num -gt 1 ]] && return 1
+
 local exp word="$PREFIX$SUFFIX" sort expr expl subd suf=" "
 local curcontext="${curcontext/:[^:]#:/:expand:}"