From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15629 invoked from network); 28 Jun 2000 14:55:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Jun 2000 14:55:56 -0000 Received: (qmail 25716 invoked by alias); 28 Jun 2000 14:55:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12111 Received: (qmail 25702 invoked from network); 28 Jun 2000 14:55:39 -0000 Date: Wed, 28 Jun 2000 16:55:37 +0200 (MET DST) Message-Id: <200006281455.QAA03002@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Whaite's message of Wed, 28 Jun 2000 10:48:03 -0400 Subject: Re: Prompt %~ (sometimes) expands /local/src/zsh to ~unambiguous Peter Whaite wrote: > I have noticed that every now and then `print -P "%~"` prints "~unambiguous". > Today I noticed it (in my xterm title) after 'cd /local/src/zsh'. This was > with yesterdays zsh-3.1.9-dev-1 cvs version. I tried zsh-3.1.9 and that > worked OK. However I was surprised to find that after I exited the zsh-3.1.9 > shell, thus returning to the latest zsh-3.1.9-dev-1, it still worked OK. I > have been unable to get it to misbehave since. Haven't investigated any further... the $compstate assoc contains an element `unambiguous'. Maybe one of the recent changes to the parameter code...? And maybe we should add code to prevent the automatic name-dir behaviour for assoc elements anyway (if we don't have that already and this is really the cause). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de