Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _initctl: only define helper functions once



On 2011-05-26 21:42, Mikael Magnusson wrote:
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)?


yes, that definitely works :-)

new & complete file here: http://paste.grml.org/432/




Messages sorted by: Reverse Date, Date, Thread, Author