From 2e686faca1357534cfd620a53b26dd5bdf77fbf5 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Fri, 13 Feb 2015 17:43:13 +0100 Subject: [PATCH] inlining the rbenv part --- .zshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index bc043d6..0a032c1 100644 --- a/.zshrc +++ b/.zshrc @@ -47,9 +47,7 @@ fi export GPG_TTY=$(tty) # rbenv -if [[ ! ":$PATH:" == *":$HOME/.rbenv/shims:"* ]]; then - hash rbenv 2>/dev/null && eval "$(rbenv init -)" -fi +[[ ! ":$PATH:" == *":$HOME/.rbenv/shims:"* ]] && hash rbenv 2>/dev/null && eval "$(rbenv init -)" # Aliases if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then