diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-04-18 07:26:56 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-04-18 07:26:56 +0000 |
commit | 1f09b2909dd21ecb58a67125f340466da50e92b0 (patch) | |
tree | 2b62684a070c974310391de1bbca947bdaabe0ae /Completion/Base | |
parent | 3fea34321b79031c2030f6429a54ad219af54e03 (diff) | |
download | zsh-1f09b2909dd21ecb58a67125f340466da50e92b0.tar.gz zsh-1f09b2909dd21ecb58a67125f340466da50e92b0.tar.xz zsh-1f09b2909dd21ecb58a67125f340466da50e92b0.zip |
users/14033 as modified by users/14037 and added doc: allow colon quoting
in matches in _describe
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/Utility/_describe | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Utility/_describe b/Completion/Base/Utility/_describe index d5d7aeba7..f899b0ad0 100644 --- a/Completion/Base/Utility/_describe +++ b/Completion/Base/Utility/_describe @@ -97,10 +97,10 @@ while _tags; do if [[ -n $_mats ]]; then compadd "$_opts[@]" "${(@)_expl:/-J/-2V}" -D $_strs - \ - "${(@M)${(@P)_mats}##([^:\\]|\\?)##}" + "${(@)${(@M)${(@P)_mats}##([^:\\]|\\?)##}//\\(#b)(?)/$match[1]}" else compadd "$_opts[@]" "${(@)_expl:/-J/-2V}" -D $_strs - \ - "${(@M)${(@P)_strs}##([^:\\]|\\?)##}" + "${(@)${(@M)${(@P)_strs}##([^:\\]|\\?)##}//\\(#b)(?)/$match[1]}" fi done set - "$_argv[@]" |