postmodern / chruby

Changes the current Ruby
MIT License
2.86k stars 190 forks source link

Call `hash -r` whenever PATH is updated #326

Closed postmodern closed 9 years ago

postmodern commented 9 years ago

Currently hash -r is only called in chruby_reset. If there is no current selected ruby, chruby will not call chruby_reset and modify PATH. This apparently causes inconsistency in Zsh.

postmodern commented 9 years ago

Should be fixed now.