about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-31 12:38:34 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-31 12:38:34 +0000
commit171855e2e23938f40080ca2630d2efc42f319014 (patch)
treedb76e5c94287e7016304f81e56779305d482a8e4 /Src/Zle
parent63a32f3c34a09b0293c10421538b2da63ef9de73 (diff)
downloadzsh-171855e2e23938f40080ca2630d2efc42f319014.tar.gz
zsh-171855e2e23938f40080ca2630d2efc42f319014.tar.xz
zsh-171855e2e23938f40080ca2630d2efc42f319014.zip
fix tag-order problem with _arguments (completion after an option that gets an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607)
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 2c0e119f9..85fde0dba 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -1436,7 +1436,7 @@ ca_parse_line(Cadef d, int multi, int first)
 	    char *p;
 	    Caopt tmpopt;
 
-	    if (sopts && nonempty(sopts))
+	    if (cur != compcurrent && sopts && nonempty(sopts))
 		state.curopt = (Caopt) uremnode(sopts, firstnode(sopts));
 
 	    if (!state.oargs[state.curopt->num])