From: Tobias Gruetzmacher <tobias@portfolio16.de>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: Cleaner envrionment after some completions
Date: Sun, 24 Apr 2005 14:15:54 +0200 [thread overview]
Message-ID: <20050424121554.GA9580@portfolio16.de> (raw)
In-Reply-To: <1050424002330.ZM20410@candle.brasslantern.com>
Hi,
On Sun, Apr 24, 2005 at 12:23:30AM +0000, Bart Schaefer wrote:
> On Apr 23, 10:19pm, Tobias Gruetzmacher wrote:
> }
> } +++ mod/Completion/Unix/Command/_subversion
> }
> } if (( ! $+_svn_cmds )); then
> } - typeset -gA _svn_cmds
> } + typeset -A _svn_cmds
>
> This one is wrong. The "g" in there makes _svn_cmds a global; if it's
> removed to make it a a local, then 'if (( ! $+_svn_cmds ))' will always
> be true, and _call_program will always be run.
I somehow manged to miss the caching... So, yes, this is obviously
wrong.
> Perhaps you meant 'typeset -gHA _svn_cmds' ?
Yes, that looks good.
Greetings Tobi
--
GPG-Key 0xE2BEA341 - signed/encrypted mail preferred
My, oh so small, homepage: http://portfolio16.de/
http://www.fli4l.de/ - ISDN- & DSL-Router on one disk!
Registered FLI4L-User #00000003
prev parent reply other threads:[~2005-04-24 12:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 20:19 Tobias Gruetzmacher
2005-04-24 0:23 ` Bart Schaefer
2005-04-24 12:15 ` Tobias Gruetzmacher [this message]
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=20050424121554.GA9580@portfolio16.de \
--to=tobias@portfolio16.de \
--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).