From: Paul Ackersviller <pda@sdf.lonestar.org>
To: zsh-workers@sunsite.dk
Subject: Re: zsh 4.3.4 released
Date: Thu, 19 Apr 2007 19:44:14 +0000 [thread overview]
Message-ID: <20070419194414.GB10230@sverige> (raw)
In-Reply-To: <20070419120758.e9774528.pws@csr.com>
On Thu, Apr 19, 2007 at 12:07:58PM +0100, Peter Stephenson wrote:
> * unposted: Functions/Misc/add-zsh-hook: should have been
> added ages ago but wasn't.
I've encountered a wee problem with this, and I do mean wee -- the time it
took me to spot this proves my font is too small for my powers of vision.
$ zsh-4.3.4-dev-0 -f
% zcompile -z share/zsh/4.3.4-dev-0/functions/add-zsh-hook
zsh: parse error near `else'
zcompile: can't read file: share/zsh/4.3.4-dev-0/functions/add-zsh-hook
This fixes it:
--- Functions/Misc/add-zsh-hook 19 Apr 2007 09:40:56 -0000 1.1
+++ Functions/Misc/add-zsh-hook 19 Apr 2007 19:24:23 -0000
@@ -52,7 +52,7 @@
(( ${(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
next parent reply other threads:[~2007-04-19 19:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200704161647.l3GGl2FE027950@news01.csr.com>
[not found] ` <20070419120758.e9774528.pws@csr.com>
2007-04-19 19:44 ` Paul Ackersviller [this message]
[not found] ` <237967ef0704201440g1c072ca8l451439d2ec8578bf@mail.gmail.com>
[not found] ` <20070423104151.1f5f368e.pws@csr.com>
[not found] ` <237967ef0704230550k41ddb13fy60deebd526ecc5ec@mail.gmail.com>
2007-04-23 13:18 ` Peter Stephenson
2007-04-23 14:22 ` Mikael Magnusson
2007-04-23 15:06 ` Peter Stephenson
2007-04-23 16:00 ` Mikael Magnusson
2007-04-23 16:40 ` Peter Stephenson
2007-04-23 17:07 ` Peter Stephenson
2007-04-23 17:18 ` Mikael Magnusson
2007-04-23 16:07 ` Mikael Magnusson
[not found] ` <BB046CA812535C45BD0029AA9D04BA79C66F39@KL-SRV57.lmsintl.com>
2007-04-23 14:01 ` Peter Stephenson
[not found] ` <BB046CA812535C45BD0029AA9D04BA79C66F72@KL-SRV57.lmsintl.com>
2007-04-23 15:14 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070419194414.GB10230@sverige \
--to=pda@sdf.lonestar.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).