From 8e341a0243efe52c297416f9b2f5a6806c0aa95c Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Mon, 28 Jun 2010 09:41:56 +1000 Subject: [PATCH] Move RVM to be the very last thing included in bashrc and zshrc --- bash/bashrc | 5 ++++- bash/common | 4 +--- zsh/zshrc | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index 1b93c4a..c3ab99a 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -29,4 +29,7 @@ shopt -s checkwinsize shopt -s histappend shopt -s globstar 2>/dev/null # Bash 4 and above only -complete -C $DOT_FILES/bash/rake-completion.rb -o default rake} \ No newline at end of file +complete -C $DOT_FILES/bash/rake-completion.rb -o default rake} + +# RVM +[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm diff --git a/bash/common b/bash/common index c3061dd..65f3ec2 100644 --- a/bash/common +++ b/bash/common @@ -8,6 +8,4 @@ source $DOT_FILES/bash/exports source $DOT_FILES/git/gitrc source $DOT_FILES/bash/aliases -export VCPROMPT=~/.config/misc/vcprompt.py - -[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm +export VCPROMPT=~/.config/misc/vcprompt.py \ No newline at end of file diff --git a/zsh/zshrc b/zsh/zshrc index 1862d08..35fd65e 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -12,3 +12,6 @@ source $DOT_FILES/zsh/config # My custom theme source $DOT_FILES/zsh/theme + +# RVM +[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm \ No newline at end of file