From: gi1242+zsh@gmail.com
To: zsh-users@zsh.org
Subject: Re: Rehash after installs
Date: Sun, 14 Aug 2011 22:47:05 -0400 [thread overview]
Message-ID: <20110815024705.GD18671@andrew.cmu.edu> (raw)
In-Reply-To: <CAHYJk3RmnSux+oH6Y8b23LRf4hrJgTk=N1K72=qGT=mh5W71Qw@mail.gmail.com>
On Sun, Aug 14, 2011 at 05:02:13PM +0200, Mikael Magnusson wrote:
>> The man page however seems to say that a rehash is issued on *every*
>> external command completion request. Is it possible to rehash only on
>> every *failed* external command completion request.
>>
>> I guess it doesn't really matter so much as I can't (yet) notice too
>> much of a performance penalty.
>
> Sure, but then you would still get incorrect completions as long as
> you typed something that can be completed to another command, ie you
> installed foobara and had foobaza already, so fooba<tab> would give
> you foobaza, while foobar<tab> would give foobara.
That's true! I guess completion style rehash is the way to go.
Thanks,
Gautam
--
Modern Computer Viruses:
Texas Virus -- Makes sure it's bigger than any other file.
prev parent reply other threads:[~2011-08-15 2:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-13 6:53 Micah Elliott
2011-08-13 7:05 ` Sebastian Tramp
2011-08-14 4:03 ` gi1242+zsh
2011-08-14 4:37 ` Mikael Magnusson
2011-08-14 14:46 ` Gautam Iyer
2011-08-14 15:02 ` Mikael Magnusson
2011-08-15 2:47 ` gi1242+zsh [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=20110815024705.GD18671@andrew.cmu.edu \
--to=gi1242+zsh@gmail.com \
--cc=zsh-users@zsh.org \
/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).