From a17bcbc45e4b2b1f3bda883ae429062d58685081 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 30 Aug 1999 10:12:27 +0000 Subject: zsh-workers/7538 --- Completion/Base/_arguments | 1 + 1 file changed, 1 insertion(+) diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 12ff025a1..cb889cb10 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -499,6 +499,7 @@ while [[ cur -gt 0 ]]; do line=( "$line[@]" "$ws[1]" ) [[ -n "$inopt" ]] && nargbeg=$(( beg - 1 )) inopt='' + [[ -z "$args[nth]" && "$rest" = \*::* ]] && break (( nth++ )) fi fi -- cgit 1.4.1