diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2007-04-19 19:54:00 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2007-04-19 19:54:00 +0000 |
| commit | 8f0fefdbfdd61d1400852c34a94b3827cf88285a (patch) | |
| tree | d9630245760f6dc6e62006460311653d861c3032 | |
| parent | unposted: set version to 4.3.4-dev-0 (diff) | |
| download | zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.tar zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.tar.gz zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.tar.bz2 zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.tar.lz zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.tar.xz zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.tar.zst zsh-8f0fefdbfdd61d1400852c34a94b3827cf88285a.zip | |
23301: fix semicolon mistyped as a colon.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | Functions/Misc/add-zsh-hook | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,11 @@ +2007-04-19 Clint Adams <clint@zsh.org> + + * 23301: Paul Ackersviller: Functions/Misc/add-zsh-hook: + fix semicolon mistyped as a colon. + 2007-04-19 Peter Stephenson <pws@csr.com> - * unposte: Config/version.mk: set release string to 4.3.4-dev-0. + * unposted: Config/version.mk: set release string to 4.3.4-dev-0. * users/11419: Doc/Zsh/zle.yo, Functions/Zle/backward-kill-word-match, 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 |
