Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix rbenv init argument order

The no-rehash parameter should go in front of the shell, not behind.
The previous order was resulting in
"basename: illegal option -- -"
errors for me when using rbenv shell.
commit f2dc3149b9307f6bdd052a0d3ff0bbb000e269b2 1 parent 9fec1e5
@bb bb authored croaky committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mac
2  mac
@@ -150,7 +150,7 @@ brew_install_or_upgrade 'rbenv'
brew_install_or_upgrade 'ruby-build'
# shellcheck disable=SC2016
-append_to_zshrc 'eval "$(rbenv init - zsh --no-rehash)"' 1
+append_to_zshrc 'eval "$(rbenv init - --no-rehash zsh)"' 1
brew_install_or_upgrade 'openssl'
brew unlink openssl && brew link openssl --force
Please sign in to comment.
Something went wrong with that request. Please try again.