You are not logged in.
Pages: 1
Topic closed
I just switched from bash to zsh to test it out but I ran into one small inconvenience... After installing any program with pacman unfortunately zsh doesn't find the installed program when using completion, if I type out the full name it works fine, or if I open a new shell...
Any suggestions on how to fix this?
Offline
% rehash Offline
Thanks for that, makes life a lot easier.
Offline
Is there a way to rehash automatically after an installation?
In other words, how Bash is able to do that?
Offline
Offline
Got my answer here: https://github.com/robbyrussell/oh-my-zsh/issues/3440
You need to add this line in your .zshrc:
zstyle ':completion:*' rehash trueOffline
The answer is, as lucke pointed out, in the wiki. Rather than relying on the stupid Oh-my-zsh, please read the wiki or Zsh's excellent documentation and don't necrobump:
https://wiki.archlinux.org/index.php/Fo … bumping.22
Closing
Offline
Pages: 1
Topic closed