From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17041 invoked from network); 1 Apr 1999 19:47:12 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Apr 1999 19:47:12 -0000 Received: (qmail 5521 invoked by alias); 1 Apr 1999 19:46:41 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2278 Received: (qmail 5496 invoked from network); 1 Apr 1999 19:46:36 -0000 Date: Thu, 1 Apr 1999 13:41:54 -0600 From: "Larry P . Schrof" To: zsh-users@sunsite.auc.dk Subject: Re: Completion fails to search in $PATH Message-ID: <19990401134154.A20484@lyric.cig.mot.com> References: <19990401132851.A16009@swing.cs.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990401132851.A16009@swing.cs.rice.edu>; from Sameer Siruguri on Thu, Apr 01, 1999 at 01:28:51PM -0600 Use 'rehash'. zsh hashes many things, including commands in PATH. I usually just type rehash when I've put new stuff in my command path (IE installing software packages). If it really bugs you to type rehash, you can have zsh do so periodically, but this really doesn't solve the immediate problem. On Thu, Apr 01, 1999 at 01:28:51PM -0600, Sameer Siruguri wrote: > Hi. > > When I create a new executable in some directory that is in my $PATH, > completion fails to add that to the list when I press TAB. The new executable > is added only after I restart zsh. It seems that zsh is caching the completion > list and doesn't re-read the cache very often. > > Is there some way I can get zsh to refresh the completion list after I have > made a change to it? > > Thanks. Sameer. > -- > Sameer Siruguri Graduate student, CS, Rice University > siruguri@cs.rice.edu 713 630 9243 www.cs.rice.edu/~siruguri >