From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3162 invoked from network); 11 Jan 2002 15:50:30 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Jan 2002 15:50:30 -0000 Received: (qmail 14373 invoked by alias); 11 Jan 2002 15:50:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4582 Received: (qmail 14361 invoked from network); 11 Jan 2002 15:50:11 -0000 From: "Bart Schaefer" Message-Id: <1020111155007.ZM14861@candle.brasslantern.com> Date: Fri, 11 Jan 2002 15:50:07 +0000 In-Reply-To: <20020111152849.G852@lifebits.de> Comments: In reply to Dominik Vogt "Re: problem with named directories over the net" (Jan 11, 3:28pm) References: <20020111134158.F852@lifebits.de> <000501c19a9f$4af36ff0$21c9ca95@mow.siemens.ru> <20020111152849.G852@lifebits.de> X-Mailer: Z-Mail (5.0.0 30July97) To: d.vogt@lifebits.de, zsh-users@sunsite.dk Subject: Re: problem with named directories over the net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 11, 3:28pm, Dominik Vogt wrote: } Subject: Re: problem with named directories over the net } } > PS1="%~ %# " } } No, I already have that im my prompt. The problem is that only } "/home/luthien" is written as "~", } not "/net/server/share/home/luthien". My "stupid zsh tricks" entry for the month: hash -d /=/net/server/share/home/luthien This causes zsh to write /net/server/share/home/luthien as tilde-slash, which is pretty nearly indistinguishable from tilde. It means that sub-directories of your home directory will sometimes be displayed as ~//subdir, but maybe you can live with that. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net