mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 05:00:59 +01:00
23301: fix semicolon mistyped as a colon.
This commit is contained in:
parent
200059e02d
commit
8f0fefdbfd
2 changed files with 7 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ if (( del )); then
|
|||
(( ${(P)#hook} )) || unset $hook
|
||||
fi
|
||||
else
|
||||
if (( ${(P)+hook} )): then
|
||||
if (( ${(P)+hook} )); then
|
||||
if (( ${(P)hook[(I)$fn]} == 0 )); then
|
||||
set -A $hook ${(P)hook} $fn
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue