zsh-users
 help / color / mirror / code / Atom feed
From: "Larry P . Schrof" <larry@schrof.net>
To: zsh-users@sunsite.auc.dk
Subject: Re: Completion fails to search in $PATH
Date: Thu, 1 Apr 1999 13:41:54 -0600	[thread overview]
Message-ID: <19990401134154.A20484@lyric.cig.mot.com> (raw)
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
> 


  parent reply	other threads:[~1999-04-01 19:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-01 19:28 Sameer Siruguri
1999-04-01 19:39 ` Kevin Sullivan
1999-04-01 19:41 ` Larry P . Schrof [this message]
1999-04-02  5:03 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990401134154.A20484@lyric.cig.mot.com \
    --to=larry@schrof.net \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).