mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 17:20:25 +02:00
*** empty log message ***
This commit is contained in:
parent
1deca81c23
commit
9e2dea1145
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2001-03-28 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
|
* 13813: Completion/Core/_multi_parts: make sure _multi_parts
|
||||||
|
doesn't add the empty string as a possible completion
|
||||||
|
|
||||||
2001-03-28 Peter Stephenson <pws@csr.com>
|
2001-03-28 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* unposted: Completion/Commands/_complete_tag: mysterious extra
|
* unposted: Completion/Commands/_complete_tag: mysterious extra
|
||||||
|
|
|
||||||
|
|
@ -163,14 +163,14 @@ while true; do
|
||||||
|
|
||||||
compadd "$group[@]" "$expl[@]" -r "$sep" -S "$sep" "$opts[@]" \
|
compadd "$group[@]" "$expl[@]" -r "$sep" -S "$sep" "$opts[@]" \
|
||||||
-p "$pref" "$tmp2[@]" -M "r:|${sep}=* r:|=* $matcher" - \
|
-p "$pref" "$tmp2[@]" -M "r:|${sep}=* r:|=* $matcher" - \
|
||||||
"${(@)${(@M)matches:#*${sep}}%%${sep}*}" && ret=0
|
"${(@)${(@)${(@M)matches:#*${sep}}%%${sep}*}:#}" && ret=0
|
||||||
(( $matches[(I)${sep}*] )) &&
|
(( $matches[(I)${sep}*] )) &&
|
||||||
compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" \
|
compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" \
|
||||||
-p "$pref" \
|
-p "$pref" \
|
||||||
-M "r:|${sep}=* r:|=* $matcher" - "$sep" && ret=0
|
-M "r:|${sep}=* r:|=* $matcher" - "$sep" && ret=0
|
||||||
compadd "$group[@]" "$expl[@]" -r "$sep" -S "$sep" "$opts[@]" \
|
compadd "$group[@]" "$expl[@]" -r "$sep" -S "$sep" "$opts[@]" \
|
||||||
-p "$pref" "$tmp2[@]" -M "r:|${sep}=* r:|=* $matcher" - \
|
-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[@]" \
|
compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" -p "$pref" "$tmp2[@]" \
|
||||||
-M "r:|${sep}=* r:|=* $matcher" - \
|
-M "r:|${sep}=* r:|=* $matcher" - \
|
||||||
"${(@)matches:#*${sep}*}" && ret=0
|
"${(@)matches:#*${sep}*}" && ret=0
|
||||||
|
|
@ -182,7 +182,7 @@ while true; do
|
||||||
compadd "$group[@]" "$expl[@]" "$opts[@]" \
|
compadd "$group[@]" "$expl[@]" "$opts[@]" \
|
||||||
-p "$pref" -s "${i#*${sep}}" \
|
-p "$pref" -s "${i#*${sep}}" \
|
||||||
-M "r:|${sep}=* r:|=* $matcher" - \
|
-M "r:|${sep}=* r:|=* $matcher" - \
|
||||||
"${(@)${(@M)matches:#*${sep}*}%%${sep}*}" && ret=0
|
"${(@)${(@)${(@M)matches:#*${sep}*}%%${sep}*}:#}" && ret=0
|
||||||
compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" -p "$pref" \
|
compadd "$group[@]" "$expl[@]" -S '' "$opts[@]" -p "$pref" \
|
||||||
-M "r:|${sep}=* r:|=* $matcher" - \
|
-M "r:|${sep}=* r:|=* $matcher" - \
|
||||||
"${(@)matches:#*${sep}*}" && ret=0
|
"${(@)matches:#*${sep}*}" && ret=0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue