From 9e2dea114577c11716e18f744e0ab644323128f6 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 28 Mar 2001 10:58:02 +0000 Subject: *** empty log message *** --- Completion/Core/_multi_parts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Core') diff --git a/Completion/Core/_multi_parts b/Completion/Core/_multi_parts index fe1406832..cf6d6dbac 100644 --- a/Completion/Core/_multi_parts +++ b/Completion/Core/_multi_parts @@ -163,14 +163,14 @@ while true; do compadd "$group[@]" "$expl[@]" -r "$sep" -S "$sep" "$opts[@]" \ -p "$pref" "$tmp2[@]" -M "r:|${sep}=* r:|=* $matcher" - \ - "${(@)${(@M)matches:#*${sep}}%%${sep}*}" && ret=0 + "${(@)${(@)${(@M)matches:#*${sep}}%%${sep}*}:#}" && ret=0 (( $matches[(I)${sep}*] )) && compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" \ -p "$pref" \ -M "r:|${sep}=* r:|=* $matcher" - "$sep" && ret=0 compadd "$group[@]" "$expl[@]" -r "$sep" -S "$sep" "$opts[@]" \ -p "$pref" "$tmp2[@]" -M "r:|${sep}=* r:|=* $matcher" - \ - "${(@)${(@M)matches:#*?${sep}?*}%%${sep}*}" && ret=0 + "${(@)${(@)${(@M)matches:#*?${sep}?*}%%${sep}*}:#}" && ret=0 compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" -p "$pref" "$tmp2[@]" \ -M "r:|${sep}=* r:|=* $matcher" - \ "${(@)matches:#*${sep}*}" && ret=0 @@ -182,7 +182,7 @@ while true; do compadd "$group[@]" "$expl[@]" "$opts[@]" \ -p "$pref" -s "${i#*${sep}}" \ -M "r:|${sep}=* r:|=* $matcher" - \ - "${(@)${(@M)matches:#*${sep}*}%%${sep}*}" && ret=0 + "${(@)${(@)${(@M)matches:#*${sep}*}%%${sep}*}:#}" && ret=0 compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" -p "$pref" \ -M "r:|${sep}=* r:|=* $matcher" - \ "${(@)matches:#*${sep}*}" && ret=0 -- cgit 1.4.1