diff options
Diffstat (limited to 'Completion')
-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[@]" |