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
# shellcheck shell=bash
|
|
|
|
if [ "${RBENV_SHELL}" = "" ]; then
|
|
if command -v rbenv >/dev/null 2>&1 ; then
|
|
eval "$(rbenv init -)"
|
|
fi
|
|
fi
|
|
|
|
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
|
# shellcheck disable=SC2076
|
|
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
|
export PATH="$PATH:$HOME/.rvm/bin"
|
|
fi
|
|
fi
|