From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17009 invoked from network); 1 Apr 1999 19:44:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Apr 1999 19:44:47 -0000 Received: (qmail 4856 invoked by alias); 1 Apr 1999 19:43:58 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2277 Received: (qmail 4848 invoked from network); 1 Apr 1999 19:43:57 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 1 Apr 1999 14:39:19 -0500 (EST) From: Kevin Sullivan To: siruguri@cs.rice.edu Cc: zsh-users@sunsite.auc.dk Subject: Re: Completion fails to search in $PATH In-Reply-To: <19990401132851.A16009@swing.cs.rice.edu> References: <19990401132851.A16009@swing.cs.rice.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14083.52005.116682.931463@drkstr> Sameer Siruguri writes: > 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 > > When you add a new entry into your path you can refresh the cache with the builtin command 'rehash'. After that should find your new command(s). -Kevin Sullivan