Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion fails to search in $PATH
- X-seq: zsh-users 2278
- From: "Larry P . Schrof" <larry@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Completion fails to search in $PATH
- Date: Thu, 1 Apr 1999 13:41:54 -0600
- In-reply-to: <19990401132851.A16009@xxxxxxxxxxxxxxxxx>; from Sameer Siruguri on Thu, Apr 01, 1999 at 01:28:51PM -0600
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990401132851.A16009@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxx 713 630 9243 www.cs.rice.edu/~siruguri
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author