zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Bernhard Tittelbach <xro@realraum.at>
Cc: zsh-workers@zsh.org
Subject: Re: PATCH: _initctl: only define helper functions once
Date: Thu, 26 May 2011 21:42:46 +0200	[thread overview]
Message-ID: <BANLkTikCz3pt2auTOnbVaQn3rdE05zsLtQ@mail.gmail.com> (raw)
In-Reply-To: <irma5i$fcf$1@dough.gmane.org>

On 26 May 2011 21:37, Bernhard Tittelbach <xro@realraum.at> 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


  reply	other threads:[~2011-05-26 19:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 17:17 zsh completion for upstart commands initctl start stop restart reload and status Bernhard Tittelbach
2011-05-25 20:50 ` Marc Weber
2011-05-26  9:36 ` Peter Stephenson
2011-05-26 16:05   ` PATCH: _initctl: only define helper functions once Mikael Magnusson
2011-05-26 16:11     ` Peter Stephenson
2011-05-26 16:49       ` Mikael Magnusson
2011-05-26 19:37         ` Bernhard Tittelbach
2011-05-26 19:42           ` Mikael Magnusson [this message]
2011-05-26 20:31             ` Bernhard Tittelbach

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=BANLkTikCz3pt2auTOnbVaQn3rdE05zsLtQ@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=xro@realraum.at \
    --cc=zsh-workers@zsh.org \
    /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).