mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
37115: update for changes in ${(P)...} evaluation.
This commit is contained in:
parent
9ab9da49f7
commit
9ce000db22
3 changed files with 28 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue