mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Switch rbenv back to manual install method
This commit is contained in:
@@ -35,5 +35,13 @@ elif [ -n "$ZSH_VERSION" ]; then
|
|||||||
alias va="vagrant"
|
alias va="vagrant"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load rbenv
|
# Load rbenv or RVM depending on which is available
|
||||||
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
|
if [ -d "$HOME/.rbenv/bin" ]; then
|
||||||
|
# Don't load rbenv again if oh-my-zsh's rbenv plugin already has
|
||||||
|
if [[ ":$PATH:" != *":$HOME/.rbenv/bin:"* ]]; then
|
||||||
|
path_prepend "$HOME/.rbenv/bin"
|
||||||
|
eval "$(rbenv init -)"
|
||||||
|
fi
|
||||||
|
elif [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
||||||
|
source "$HOME/.rvm/scripts/rvm"
|
||||||
|
fi
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ DISABLE_AUTO_TITLE="true"
|
|||||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
plugins=(brew bundler cake cap gem heroku node nyan osx powder python rails3 \
|
plugins=(brew bundler cake cap gem heroku node nyan osx powder python rails3 \
|
||||||
ruby thor vagrant)
|
rbenv ruby thor vagrant)
|
||||||
|
|
||||||
source "$ZSH/oh-my-zsh.sh"
|
source "$ZSH/oh-my-zsh.sh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user