Skip to content

Commit

Permalink
Explicitly tell rbenv to use zsh
Browse files Browse the repository at this point in the history
According to @graywh's comment on:
rbenv/rbenv#185
  • Loading branch information
dipth committed Jun 16, 2012
1 parent e8d582a commit 823cc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/rbenv/rbenv.plugin.zsh
Expand Up @@ -4,7 +4,7 @@ for rbenvdir in "$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv" ; do
FOUND_RBENV=1
export RBENV_ROOT=$rbenvdir
export PATH=${rbenvdir}/bin:$PATH
eval "$(rbenv init -)"
eval "$(rbenv init - zsh)"

alias rubies="rbenv versions"
alias gemsets="rbenv gemset list"
Expand Down

1 comment on commit 823cc91

@clifferson
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robbyrussell @dipth Does this mean if Im using the rbenv plugin I dont need to have eval "$(rbenv init - zsh)" in my .zshrc?

Thanks!

Please sign in to comment.