mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Strip out stuff I no longer use from ruby setup
- I install rbenv via Homebrew now, so no need to check for it's executable in ~/.rbenv/bin anymore. - I haven't used rvm since around 2011 or so, not going back to it anytime soon.
This commit is contained in:
@@ -47,18 +47,8 @@ if [ -n "$BASH_VERSION" ]; then
|
|||||||
alias bcn="bundle clean"
|
alias bcn="bundle clean"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load rbenv or RVM depending on which is available
|
|
||||||
if [ -d "$HOME/.rbenv/bin" ]; then
|
|
||||||
path_prepend "$HOME/.rbenv/bin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$(command -v rbenv)" ]; then
|
if [ -n "$(command -v rbenv)" ]; then
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init --no-rehash -)"
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
|
||||||
path_append "$HOME/.rvm/bin"
|
|
||||||
source "$HOME/.rvm/scripts/rvm"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# lunchy auto-completion
|
# lunchy auto-completion
|
||||||
|
|||||||
Reference in New Issue
Block a user