From b2aebcad027eab3339677eb790bfa41b37c3aef0 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 2 Aug 2000 10:36:19 +0000 Subject: if compcontext is an assoc, the keys are the completions and the values are their descriptions (12483) --- Completion/Base/_arguments | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Base') diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 5a8da45ab..68a7ba848 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -78,7 +78,7 @@ if (( long )); then # Using (( ... )) gives a parse error. - let "$tmpargv[(I)(|\([^\)]#\))${opt}(|[-+=])(|\[*\])(|:*)]" || + let "$tmpargv[(I)(|\([^\)]#\))(|\*)${opt}(|[-+=])(|\[*\])(|:*)]" || tmp=( "$tmp[@]" "$opt" ) done lopts=( "$tmp[@]" ) -- cgit 1.4.1