zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Andy Spiegl <zsh.Andy@spiegl.de>
Cc: zsh-users@sunsite.dk
Subject: Re: howto avoid ~irc in %~ ?
Date: Fri, 21 Jun 2002 16:54:16 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0206211652130.1311-100000@ns1.sodaware.com> (raw)
In-Reply-To: <20020621184005.A23074@radiomaranon.org.pe>

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.


  parent reply	other threads:[~2002-06-21 23:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14 18:16 Andy Spiegl
2002-06-15 23:22 ` Bart Schaefer
2002-06-17  7:12   ` Wayne Davison
2002-06-21 22:51     ` Andy Spiegl
2002-06-21 23:11       ` Dan Nelson
2002-06-21 23:40         ` Andy Spiegl
2002-06-21 23:53           ` Dan Nelson
2002-06-21 23:54           ` Bart Schaefer [this message]
2002-06-21 23:59             ` Will Yardley
2002-06-22  0:41             ` Andy Spiegl
2002-06-22  0:57               ` Clint Adams
2002-06-22  2:04               ` Wayne Davison

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=Pine.LNX.4.44.0206211652130.1311-100000@ns1.sodaware.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    --cc=zsh.Andy@spiegl.de \
    /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).