From 08f8ab7a23291de0b2fe25f7ea7d19d8f6c13c6f Mon Sep 17 00:00:00 2001 From: tinogomes Date: Thu, 12 May 2011 08:21:14 -0300 Subject: [PATCH] Reload the .rvmrc on current directory after open new tabs/windows and "Reuse Previuos Tab Directory" --- templates/zshrc.zsh-template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index 576d45eaa..b4df284cb 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -25,4 +25,9 @@ plugins=(git) source $ZSH/oh-my-zsh.sh +# After open new tabs / windows and "Reuse Previous Tab's Directory" +# reload the .rvmrc file on current directory +# http://beginrescueend.com/integration/zsh/ +[[ -s $HOME/.rvm/scripts/rvm ]] && __rvm_project_rvmrc + # Customize to your needs...