Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _initctl: only define helper functions once
- X-seq: zsh-workers 29380
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bernhard Tittelbach <xro@xxxxxxxxxxx>
- Subject: Re: PATCH: _initctl: only define helper functions once
- Date: Thu, 26 May 2011 21:42:46 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=84D1+zaoSBA4jaUjOm8W6Ms8iSxpXaEVNQ8ibD2PWcY=; b=v0ypTa4ogE4X3GsCs7J/s/RaaTfvzjLapKSTacm7RqpMo4p0XHkKT7EZEyG37uH7Ey G284UybwE8uoHGNMHppr7O+GIVN5Y1/StLu8SkE6vDARpjXhVBbvCHH5ioaIYqHLwbKd nw81TDj0DNrvVbYvgvNZuvt66BoKOJePAebGE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=klDP+UYYtimgwcklnnIQhj7gyytksopFs1ePGAPUaVoE7NLw0PV9VsiPs95MjxkgfG 0sn95rhuZNgFG4t4YO/DJ+ZLIzaRH24+YAoeP4LUCdmGsEzUfg/V23FC4wNYOzR/rzgV kjUsIDEf2PPc4X7n5XOvS25kdTNLAPDfceI+Y=
- In-reply-to: <irma5i$fcf$1@dough.gmane.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20110526103606.0d7cd39a@pwslap01u.europe.root.pri> <1306425923-6895-1-git-send-email-mikachu@gmail.com> <20110526171112.2a51be51@pwslap01u.europe.root.pri> <BANLkTi=k+DDTDSGbjCiwtVBUkibv9EaiJQ@mail.gmail.com> <irma5i$fcf$1@dough.gmane.org>
On 26 May 2011 21:37, Bernhard Tittelbach <xro@xxxxxxxxxxx> wrote:
> nice trick !
>
> :-)
Now that I look at it again, could that typeset -g be outside the
_initctl() function without the if, so it's just run once (when the
whole file is autoloaded)?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author