From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12011 invoked from network); 2 Apr 2001 17:16:52 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Apr 2001 17:16:52 -0000 Received: (qmail 11577 invoked by alias); 2 Apr 2001 17:16:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3789 Received: (qmail 11561 invoked from network); 2 Apr 2001 17:16:38 -0000 MIME-Version: 1.0 From: Vincent Lefevre To: Bart Schaefer Cc: zsh-users@sunsite.auc.dk Date: Mon, 02 Apr 2001 19:16:15 +0200 Subject: Re: [zsh 4.0.1-pre-2 bug] named directories disappear Message-ID: <4a64ffac99vincent@vinc17.org> In-Reply-To: <1010402170153.ZM29030@candle.brasslantern.com> References: <20010402164829.A32222@greux.loria.fr> <1010402170153.ZM29030@candle.brasslantern.com> User-Agent: Pluto/2.02e (RISC-OS/4.02) POPstar/2.02 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit On 02 Apr, Bart Schaefer wrote: > The local variable "out" is used by _pids, so that named directory will be > stomped whenever you complete process IDs. Yes, this was probably the problem (I remember I completed process IDs). > On the other hand, if you actually set the global variable "out": [snip] > The named directory still gets stomped, but is automatically restored any > time you refer to it. But I use hash -d out=... from my .zshenv so that I can use it anywhere, and in particular in an interactive shell. So, what can I do? -- Vincent Lefèvre - Web: - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA