diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-14 21:22:17 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-14 21:22:17 -0800 |
commit | 9ce000db220d0c676ff14cfe4fa436e6988f59ad (patch) | |
tree | 9442b26ca16544ea70b5f4e35b6a2c548618b178 /Completion/Unix/Command | |
parent | 9ab9da49f7f5d7e8a32c14bde1c7b2c7f264d6fa (diff) | |
download | zsh-9ce000db220d0c676ff14cfe4fa436e6988f59ad.tar.gz zsh-9ce000db220d0c676ff14cfe4fa436e6988f59ad.tar.xz zsh-9ce000db220d0c676ff14cfe4fa436e6988f59ad.zip |
37115: update for changes in ${(P)...} evaluation.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
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 |