From 171855e2e23938f40080ca2630d2efc42f319014 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 31 May 2001 12:38:34 +0000 Subject: 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) --- Src/Zle/computil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') 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]) -- cgit 1.4.1