You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
324 B
Bash
15 lines
324 B
Bash
3 years ago
|
# shellcheck shell=bash
|
||
3 years ago
|
|
||
|
if [ "${RBENV_SHELL}" = "" ]; then
|
||
|
if command -v rbenv >/dev/null 2>&1 ; then
|
||
|
eval "$(rbenv init -)"
|
||
|
fi
|
||
|
fi
|
||
|
|
||
3 years ago
|
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
||
|
# shellcheck disable=SC2076
|
||
|
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
||
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||
|
fi
|
||
|
fi
|