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:
2018-07-19 21:40:35 +01:00
parent 4bf36152c7
commit 770ae1a2a1

View File

@@ -47,18 +47,8 @@ if [ -n "$BASH_VERSION" ]; then
alias bcn="bundle clean"
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
eval "$(rbenv init -)"
fi
if [ -s "$HOME/.rvm/scripts/rvm" ]; then
path_append "$HOME/.rvm/bin"
source "$HOME/.rvm/scripts/rvm"
eval "$(rbenv init --no-rehash -)"
fi
# lunchy auto-completion