zsh-users
 help / color / mirror / code / Atom feed
* howto avoid ~irc in %~ ?
@ 2002-06-14 18:16 Andy Spiegl
  2002-06-15 23:22 ` Bart Schaefer
  0 siblings, 1 reply; 12+ messages in thread
From: Andy Spiegl @ 2002-06-14 18:16 UTC (permalink / raw)
  To: ZSH User List

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.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-06-22  2:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-14 18:16 howto avoid ~irc in %~ ? 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
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

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).