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

Re: Completion in zsh



sac <sac_urs@xxxxxxxxxxx>:
> When I install a new utility, and I press [tab] it
> does not complete the command unless I source .zshrc. 
> Why is this?

Because the $path is not automatically rehashed.

> Is there any way I can get the command completion
> without sourcing the .zshrc file.

Of course:
 - enter 'hash -r'
 - <http://www.zsh.org/mla/users/2007/msg00131.html>
 - <http://www.zsh.org/mla/users/2007/msg00136.html>

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925



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