From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16473 invoked from network); 14 Jun 2002 18:19:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Jun 2002 18:19:07 -0000 Received: (qmail 24954 invoked by alias); 14 Jun 2002 18:18:49 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5054 Received: (qmail 24940 invoked from network); 14 Jun 2002 18:18:48 -0000 KRecCount: 1 X-Authentication-Warning: hamster.int.radiomaranon.org.pe: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Fri, 14 Jun 2002 13:16:46 -0500 From: Andy Spiegl To: ZSH User List Subject: howto avoid ~irc in %~ ? Message-ID: <20020614131646.A26271@radiomaranon.org.pe> Mail-Followup-To: ZSH User List Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8BIT User-Agent: Mutt/1.3.23i X-PGP-GPG-Keys: finger pgp.andy@spiegl.de OR mail -s "send pgp" auto@spiegl.de Organization: Radio =?iso-8859-15?B?TWFyYfHzbiw=?= Peru 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.