ok. I can restore the original `rbenv-sh-rehash`. As you said, it doesn't require any modifications.

It was _noop_ because I couldn't find something equivalent to `hash -r` for `fish`. AFAIK, there is `rehash` built-in command for `zsh`, though. IMHO, shell-specific workarounds might be needed here.