Enable compatibility with fish shell

Hello!

I'm using fish shell and noticed that it chokes up on `rbenv-sh-update`, so I went ahead and made the changes necessary to get it working with fish, while maintaining compatibility with bash/zsh. I admit that I kind of just tweaked it until it worked without fully understanding the original intent of the script, so forgive me if I've completely missed the point.

Thanks!