summaryrefslogtreecommitdiffstats
path: root/Completion/Base
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-04 12:11:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-04 12:11:19 +0000
commitf336a17793e41cd3c8e9c7a07f22471ae20f4ac7 (patch)
treeda16bb8e1bd620398cc28a6d2f559fb68d9bf588 /Completion/Base
parentzsh-workers/9559 (diff)
downloadzsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.tar
zsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.tar.gz
zsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.tar.bz2
zsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.tar.lz
zsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.tar.xz
zsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.tar.zst
zsh-f336a17793e41cd3c8e9c7a07f22471ae20f4ac7.zip
zsh-workers/9560
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_arguments4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 1a5fd10f5..fb28438e2 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -260,8 +260,8 @@ if (( $# )) && comparguments -i "$autod" "$@"; then
if [[ -z "$matched$mesg" ]] && _requested options &&
{ ! zstyle -t ":completion:${curcontext}:options" prefix-needed ||
- [[ "$origpre" = [-+]* ||
- ( -z "$aret$mesg" && nm -eq compstate[nmatches] ) ]] } ; then
+ [[ ( "$origpre" = [-+]* || -z "$aret$mesg" ) &&
+ nm -eq compstate[nmatches] ]] } ; then
local prevpre="$PREFIX" previpre="$IPREFIX"
PREFIX="$origpre"