Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: howto avoid ~irc in %~ ?
- X-seq: zsh-users 5085
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- Subject: Re: howto avoid ~irc in %~ ?
- Date: Fri, 21 Jun 2002 16:54:16 -0700 (PDT)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20020621184005.A23074@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: schaefer@xxxxxxxxxxxxxxxx
On Fri, 21 Jun 2002, Andy Spiegl wrote:
> > chpwd() { unhash -d irc }
>
> Hm, how would I test if it is in the hash before removing it?
If you're really never going to use ~irc, then just do
irc=/
and that will change the value in the hash. Since "/" is shorter than
"~irc", zsh will never display ~irc again.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author