1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Load chruby if installed

This commit is contained in:
Holger Just 2018-08-06 18:45:01 +02:00 committed by Holger Just
parent bd6c3306dc
commit f41e33a747

View File

@ -150,6 +150,12 @@ if [[ -s $HOME/.rvm/scripts/rvm ]]; then
PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
fi
# Load chruby
if [[ -f /usr/local/share/chruby/chruby.sh ]]; then
source /usr/local/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh
fi
# setting up editor if not yet done
[[ -z "$EDITOR" ]] && EDITOR="nano"
[[ -z "$SVN_EDITOR" ]] && SVN_EDITOR="$EDITOR"