From: Andy Spiegl <zsh.Andy@spiegl.de>
To: zsh-users@sunsite.dk
Subject: Re: howto avoid ~irc in %~ ?
Date: Fri, 21 Jun 2002 18:40:06 -0500 [thread overview]
Message-ID: <20020621184005.A23074@radiomaranon.org.pe> (raw)
In-Reply-To: <20020621231150.GA59715@dan.emsphone.com>
Oops, I reacted too fast :-)
> chpwd() { unhash -d irc }
This works great, if irc still is in the hash, but throws:
unhash: no such hash table element: irc
after every directory change if it isn't.
Hm, how would I test if it is in the hash before removing it?
Andy.
--
http://peru.spiegl.de Our project
http://radiomaranon.org.pe Radio Marañón, Jaén, Perú
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When I shop for hardware I always look for the "Designed for Windows"
logo. I really thank Microsoft(TM) for encouraging manufacturers to
label their products this way, so I know what to AVOID.
next prev parent reply other threads:[~2002-06-21 23:45 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 [this message]
2002-06-21 23:53 ` Dan Nelson
2002-06-21 23:54 ` Bart Schaefer
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=20020621184005.A23074@radiomaranon.org.pe \
--to=zsh.andy@spiegl.de \
--cc=zsh-users@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).