diff --git a/lib/git.zsh b/lib/git.zsh index ce4de5598..d85ae5251 100644 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -60,3 +60,4 @@ git_prompt_status() { fi echo $STATUS } + diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh index 490a342ea..94bd2beb4 100644 --- a/plugins/rvm/rvm.plugin.zsh +++ b/plugins/rvm/rvm.plugin.zsh @@ -44,3 +44,7 @@ function gems { -Ee "s/$current_ruby$current_gemset$/$fg[green]&$reset_color/g" } +# 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 diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index c7b78b841..77f866d52 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -25,9 +25,4 @@ 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...