From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11213 invoked from network); 11 Jan 2002 16:41:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Jan 2002 16:41:16 -0000 Received: (qmail 23188 invoked by alias); 11 Jan 2002 16:41:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4583 Received: (qmail 23176 invoked from network); 11 Jan 2002 16:41:01 -0000 X-Authentication-Warning: erdbeere.lifebits.local: luthien set sender to d.vogt@lifebits.de using -f Date: Fri, 11 Jan 2002 16:36:58 +0100 From: Dominik Vogt To: zsh-users@sunsite.auc.dk Subject: Re: problem with named directories over the net Message-ID: <20020111163658.J852@lifebits.de> Reply-To: d.vogt@lifebits.de Mail-Followup-To: zsh-users@sunsite.auc.dk References: <20020111152849.G852@lifebits.de> <000f01c19aad$368cc760$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <000f01c19aad$368cc760$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Fri, Jan 11, 2002 at 05:35:27PM +0300 X-Virus-Scanned: by AMaViS perl-11 X-Sender: 520008918237-0001@t-dialin.net On Fri, Jan 11, 2002 at 05:35:27PM +0300, Borsenkow Andrej wrote: > > > > > > PS1="%~ %# " > > > > > > Is it what you want? > > > > No, I already have that im my prompt. The problem is that only > > "/home/luthien" is written as "~", > > not "/net/server/share/home/luthien". > > > > Yes, I already realized I misunderstood the problem. > > I wonder if zsh should resolve links when comparing paths. Is there > cases when somebody would like to treat link and its target differently? I think zsh can't even know that there is a link from /home to /net ... I'd have to specify a list of directories that are shown with the same name in the prompt. Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: d.vogt@lifebits.de LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20