1
0
Fork 0
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:
Clint Adams 2007-04-19 19:54:00 +00:00
parent 200059e02d
commit 8f0fefdbfd
2 changed files with 7 additions and 2 deletions

View file

@ -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