summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-11-14 21:22:17 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-11-14 21:22:17 -0800
commit9ce000db220d0c676ff14cfe4fa436e6988f59ad (patch)
tree9442b26ca16544ea70b5f4e35b6a2c548618b178 /Completion
parent9ab9da49f7f5d7e8a32c14bde1c7b2c7f264d6fa (diff)
downloadzsh-9ce000db220d0c676ff14cfe4fa436e6988f59ad.tar.gz
zsh-9ce000db220d0c676ff14cfe4fa436e6988f59ad.tar.xz
zsh-9ce000db220d0c676ff14cfe4fa436e6988f59ad.zip
37115: update for changes in ${(P)...} evaluation.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 3dfd604e9..614185ebb 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5244,7 +5244,7 @@ _git_commands () {
   for cmdtype in aliases $cmdtypes; do
     local -a ${cmdtype}_d
     (( $#disp )) && set -A ${cmdtype}_d \
-        ${${(Pr.COLUMNS-4.)cmdtype/(#s)(#m)[^:]##:/${(r.len.)MATCH[1,-2]} $sep }%% #}
+        ${${(r.COLUMNS-4.)${(P)cmdtype}/(#s)(#m)[^:]##:/${(r.len.)MATCH[1,-2]} $sep }%% #}
     alts+=( "${cmdtype//_/-}:${${cmdtype//_/ }%%(e|)s}:compadd ${(e)disp} -a ${cmdtype}_m" )
   done