Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: howto avoid ~irc in %~ ?
- X-seq: zsh-users 5086
- From: william@xxxxxxxxxxxxxxx (Will Yardley)
- To: zsh-users@xxxxxxxxxx
- Subject: Re: howto avoid ~irc in %~ ?
- Date: Fri, 21 Jun 2002 16:59:00 -0700
- In-reply-to: <Pine.LNX.4.44.0206211652130.1311-100000@xxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: New Dream Network
- References: <20020621184005.A23074@xxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.44.0206211652130.1311-100000@xxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> 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.
if you have root access, and if you don't use the user 'irc' at all, you
could just remove the user from the system entirely.
--
Will Yardley
input: william < @ hq . newdream . net . >
Messages sorted by:
Reverse Date,
Date,
Thread,
Author