Add rbenv to PATH if necessary
This commit is contained in:
parent
6054672d0e
commit
9a7175a500
4
.zshrc
4
.zshrc
@ -32,8 +32,8 @@ if [[ -d "$HOME/.cargo" ]]; then
|
|||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
which rbenv &> /dev/null
|
if [[ -d "$HOME/.rbenv" ]]; then
|
||||||
if (( !$? )); then
|
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user