Convert ruby from stow to chezmoi
parent
be9544482c
commit
a670c6271c
@ -1,11 +1,15 @@
|
|||||||
|
{{ if lookPath "rbenv" -}}
|
||||||
if [ "${RBENV_SHELL}" = "" ]; then
|
if [ "${RBENV_SHELL}" = "" ]; then
|
||||||
if command -v rbenv >/dev/null 2>&1 ; then
|
if command -v rbenv >/dev/null 2>&1 ; then
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{ if lookPath "rvm" -}}
|
||||||
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
||||||
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
||||||
export PATH="$PATH:$HOME/.rvm/bin"
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
{{- end }}
|
Loading…
Reference in New Issue