Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion newbie question
- X-seq: zsh-workers 16835
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: John Beppu <beppu@xxxxxxx>
- Subject: Re: completion newbie question
- Date: Thu, 14 Mar 2002 17:17:34 -0800 (PST)
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20020314233055.GA7934@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: schaefer@xxxxxxxxxxxxxxxx
On Thu, 14 Mar 2002, John Beppu wrote:
> I came across an idiom in _cvs that seems unnecessary.
> Before every function definition, there is a guard [...]
The guard is theoretically there so that a user can define his own custom
overrides for each of the guarded functions and simply arrange to have his
own functions autoloaded. Thus when _cvs is autoloaded, it won't override
the user's existing autoloads for those functions.
In practice I find that all it does is annoy me when I'm debugging, by
making `unfunction _cvs; autoload -U _cvs' insufficient to reload all the
related functions.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author