summaryrefslogtreecommitdiff
path: root/plugins/rbenv/rbenv.plugin.zsh
diff options
context:
space:
mode:
authorThomas Dippel <thomas@dippel.dk>2012-06-16 12:41:44 +0200
committerThomas Dippel <thomas@dippel.dk>2012-06-16 12:41:44 +0200
commit823cc9180c21c0520713b39fe3e3590645c76ad2 (patch)
treec65539255143738c60a48e04e837109fc0d1d1b9 /plugins/rbenv/rbenv.plugin.zsh
parente8d582aba98d57214a374bed01570ba791c54d9e (diff)
downloadzsh-823cc9180c21c0520713b39fe3e3590645c76ad2.tar.gz
zsh-823cc9180c21c0520713b39fe3e3590645c76ad2.tar.bz2
zsh-823cc9180c21c0520713b39fe3e3590645c76ad2.zip
Explicitly tell rbenv to use zsh
According to @graywh's comment on: https://github.com/sstephenson/rbenv/issues/185
Diffstat (limited to 'plugins/rbenv/rbenv.plugin.zsh')
-rw-r--r--plugins/rbenv/rbenv.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rbenv/rbenv.plugin.zsh b/plugins/rbenv/rbenv.plugin.zsh
index ae37404cd..4c4647b32 100644
--- a/plugins/rbenv/rbenv.plugin.zsh
+++ b/plugins/rbenv/rbenv.plugin.zsh
@@ -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"