From 8f0fefdbfdd61d1400852c34a94b3827cf88285a Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 19 Apr 2007 19:54:00 +0000 Subject: 23301: fix semicolon mistyped as a colon. --- Functions/Misc/add-zsh-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Misc/add-zsh-hook') diff --git a/Functions/Misc/add-zsh-hook b/Functions/Misc/add-zsh-hook index fa8015a3d..b11db5b5c 100644 --- a/Functions/Misc/add-zsh-hook +++ b/Functions/Misc/add-zsh-hook @@ -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 -- cgit 1.4.1