Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Explicitly tell rbenv to use zsh #1170

Merged
merged 1 commit into from

3 participants

@dipth

According to @graywh's comment on:
sstephenson/rbenv#185

@dipth

Basically without this change you will get the following error when enabling the rbenv plugin:

/Users/.../.rbenv/libexec/../completions/rbenv.bash:14: command not found: complete
@robbyrussell robbyrussell merged commit beadefc into robbyrussell:master
@clifferson

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 16, 2012
  1. @dipth

    Explicitly tell rbenv to use zsh

    dipth authored
    According to @graywh's comment on:
    sstephenson/rbenv#185
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/rbenv/rbenv.plugin.zsh
View
2  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"
Something went wrong with that request. Please try again.