From: Andy Spiegl <zsh.Andy@spiegl.de>
To: ZSH User List <zsh-users@sunsite.auc.dk>
Subject: howto avoid ~irc in %~ ?
Date: Fri, 14 Jun 2002 13:16:46 -0500 [thread overview]
Message-ID: <20020614131646.A26271@radiomaranon.org.pe> (raw)
Hi,
I am afraid there is no good solution to this, but better ask:
I use %~ in my prompt, which is great, but in my /etc/passwd are some
strange home directories, like:
irc:x:39:39:ircd:/var:/bin/sh
So when I change to
/var/www
my prompt is:
machine:~irc/www>
Is there any way to tell zsh, to only use the ~... shortcut for home
directories in /home, or maybe for some specific users?
Thanks,
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A chicken crossing the road is poultry in motion.
next reply other threads:[~2002-06-14 18:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-14 18:16 Andy Spiegl [this message]
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
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=20020614131646.A26271@radiomaranon.org.pe \
--to=zsh.andy@spiegl.de \
--cc=zsh-users@sunsite.auc.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).