Try to be safer about doing stuff in shellenv.sh (checking for existence
of commands)
This commit is contained in:
parent
224d0c15b5
commit
3959692b59
@ -48,5 +48,5 @@ function with_shellrc {
|
|||||||
export RBENV_ROOT=/usr/local/var/rbenv
|
export RBENV_ROOT=/usr/local/var/rbenv
|
||||||
|
|
||||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||||
eval "$(rbenv init -)"
|
hash rbenv > /dev/null && eval "$(rbenv init -)"
|
||||||
eval `/usr/libexec/path_helper -s`
|
test -e /usr/libexec/path_helper && eval `/usr/libexec/path_helper -s`
|
||||||
|
Loading…
Reference in New Issue
Block a user