Fix rbenv and zsh compatibility per https://github.com/sstephenson/rbenv/issues/487