From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20673 invoked from network); 15 Feb 2001 19:31:39 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Feb 2001 19:31:39 -0000 Received: (qmail 16898 invoked by alias); 15 Feb 2001 19:31:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3623 Received: (qmail 16886 invoked from network); 15 Feb 2001 19:31:22 -0000 From: "Bart Schaefer" Message-Id: <1010215193109.ZM12208@candle.brasslantern.com> Date: Thu, 15 Feb 2001 19:31:09 +0000 In-Reply-To: <20010215185745.B4877@apartia.ch> Comments: In reply to Louis-David Mitterrand ""rehash" each time a new program is installed?" (Feb 15, 6:57pm) References: <20010215185745.B4877@apartia.ch> X-Mailer: Z-Mail (5.0.0 30July97) To: Louis-David Mitterrand , zsh-users@sunsite.auc.dk Subject: Re: "rehash" each time a new program is installed? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 15, 6:57pm, Louis-David Mitterrand wrote: } Subject: "rehash" each time a new program is installed? } } I find myself having to run "rehash" to get zsh to recognize the } presence of a new executable in the PATH. bash doesn't seem to have that } requirement. Is there an option to get that behavior in zsh? You probably want "setopt nohashdirs". If that doesn't do it, "nohashcmds". } Also, how could I have zsh not list "CVS" directories when completing } paths? I tried fignore but it doesn't work. I don't immediately recall any way to ignore intermediate directories in a path. It's probably possible using styles in 3.1.6 and later, but the only way for 3.0.8 would be to write a "compctl -K" function and attach it to the specific commands for which you don't want to see CVS. } Oh, and a last one ;) Is it possible to "fignore" a file except when } it's the only completion candidate (considering the typed string e.g.)? That should happen already: fignore (FIGNORE ) An array (colon separated list) containing the suffixes of files to be ignored during filename completion. However, if the completion generates only files which would match if this variable would be ignored, than these files are completed anyway. -- 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