inlining the rbenv part

This commit is contained in:
Rodolphe Breard 2015-02-13 17:43:13 +01:00
parent ad78c2a78f
commit 2e686faca1

4
.zshrc
View file

@ -47,9 +47,7 @@ fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
# rbenv # rbenv
if [[ ! ":$PATH:" == *":$HOME/.rbenv/shims:"* ]]; then [[ ! ":$PATH:" == *":$HOME/.rbenv/shims:"* ]] && hash rbenv 2>/dev/null && eval "$(rbenv init -)"
hash rbenv 2>/dev/null && eval "$(rbenv init -)"
fi
# Aliases # Aliases
if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then