Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Path does not update until I logout/log in



Nice, thank you.


----- Original Message -----
> From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> To: John <da_audiophile@xxxxxxxxx>; Daniel Wallace <daniel.wallace@xxxxxxxxxx>; "zsh-users@xxxxxxx " <zsh-users@xxxxxxx>
> Cc: 
> Sent: Tuesday, December 4, 2012 3:10 PM
> Subject: Re: Path does not update until I logout/log in
> 
> On Dec 4, 10:27am, John wrote:
> }
> } > 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.
> 
> One more clarification -- this:
> 
>     zstyle ':completion:*' rehash yes
> 
> accomplishes the same thing as Daniel's _force_rehash, without requiring
> that you add a new function to your completer zstyle.
> 
> I suppose there might be some middling-old versions of zsh that don't
> support the rehash style, in which case Daniel's solution would be a
> good workaround.
>



Messages sorted by: Reverse Date, Date, Thread, Author