zsh-workers
 help / color / mirror / code / Atom feed
* Re: Path does not update until I logout/log in
       [not found]   ` <1354645648.27886.YahooMailNeo__5599.54756540737$1354646254$gmane$org@web140003.mail.bf1.yahoo.com>
@ 2012-12-04 20:13     ` Christian Neukirchen
  0 siblings, 0 replies; only message in thread
From: Christian Neukirchen @ 2012-12-04 20:13 UTC (permalink / raw)
  To: zsh-workers

John <da_audiophile@yahoo.com> writes:

>> You need to run rehash
>
>> 
>> or use something like 
>> _force_rehash() {
>>     (( CURRENT == 1 )) && rehash
>>     return 1    # Because we didn't really complete anything
>> }
>> zstyle ':completion:::::' completer _force_rehash _complete _approximate
>
>
> Thank you all for the replies and especially to Daniel for the above
> which is working for me.

This should be enough:
zstyle ':completion::complete:*' rehash true

-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-04 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1354631592.83211.YahooMailNeo@web140005.mail.bf1.yahoo.com>
     [not found] ` <20121204153753.GG19774@Hailey>
     [not found]   ` <1354645648.27886.YahooMailNeo__5599.54756540737$1354646254$gmane$org@web140003.mail.bf1.yahoo.com>
2012-12-04 20:13     ` Path does not update until I logout/log in Christian Neukirchen

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).