Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Path does not update until I logout/log in
- X-seq: zsh-workers 30830
- From: Christian Neukirchen <chneukirchen@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Path does not update until I logout/log in
- Date: Tue, 04 Dec 2012 21:13:04 +0100
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1354631592.83211.YahooMailNeo@web140005.mail.bf1.yahoo.com> <20121204153753.GG19774@Hailey> <1354645648.27886.YahooMailNeo__5599.54756540737$1354646254$gmane$org@web140003.mail.bf1.yahoo.com>
- Sender: chris@juno
John <da_audiophile@xxxxxxxxx> 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@xxxxxxxxx> http://chneukirchen.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author