zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Sameer Siruguri <siruguri@cs.rice.edu>, zsh-users@sunsite.auc.dk
Subject: Re: Completion fails to search in $PATH
Date: Thu, 1 Apr 1999 21:03:00 -0800	[thread overview]
Message-ID: <990401210300.ZM32248@candle.brasslantern.com> (raw)
In-Reply-To: <19990401132851.A16009@swing.cs.rice.edu>

On Apr 1,  1:28pm, Sameer Siruguri wrote:
} Subject: Completion fails to search in $PATH
}
} 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.

This appeared on zsh-workers a while back:

> On Jul 17,  9:36pm, Greg Badros wrote:
> } Subject: auto-rehashing?
> }
> } Can zsh auto-rehash when I hit tab a second consecutive time when
> } completing in a command position?
> 
> How about this:
> 
> function compctl_rehash { rehash; reply=() }
> compctl -C -c + -K compctl_rehash + -c
> 
> That says to try command completion, then if that fails, to rehash, and
> then (because compctl_rehash empties $reply) to try command completion a
> second time.
> 
> -- 
> Bart Schaefer                                 Brass Lantern Enterprises
> http://www.well.com/user/barts              http://www.brasslantern.com


      parent reply	other threads:[~1999-04-02  5:06 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
1999-04-02  5:03 ` Bart Schaefer [this message]

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=990401210300.ZM32248@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=siruguri@cs.rice.edu \
    --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).