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

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



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



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