|
|
@ -5,11 +5,6 @@ |
|
|
|
# Authors: Sorin Ionescu <sorin.ionescu@gmail.com> |
|
|
|
# Authors: Sorin Ionescu <sorin.ionescu@gmail.com> |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
# Return if requirements are not found. |
|
|
|
|
|
|
|
if (( ! $+commands[ruby] )); then |
|
|
|
|
|
|
|
return 1 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Load RVM into the shell session. |
|
|
|
# Load RVM into the shell session. |
|
|
|
if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then |
|
|
|
if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then |
|
|
|
# Unset AUTO_NAME_DIRS since auto adding variable-stored paths to ~ list |
|
|
|
# Unset AUTO_NAME_DIRS since auto adding variable-stored paths to ~ list |
|
|
@ -36,6 +31,11 @@ else |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Return if requirements are not found. |
|
|
|
|
|
|
|
if (( ! $+commands[ruby] && ! ( $+commands[rvm] || $+commands[rbenv] ) )); then |
|
|
|
|
|
|
|
return 1 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
|
# Aliases |
|
|
|
# Aliases |
|
|
|
# |
|
|
|
# |
|
|
|