This commit is contained in:
GitHub Merge Button 2012-02-23 12:34:44 -08:00
commit 7bb4986237
2 changed files with 11 additions and 0 deletions

View file

@ -4,4 +4,10 @@ function rvm_prompt_info() {
echo "($ruby_version)"
}
if [[ -s $HOME/.rvm/scripts/rvm ]]; then
# Bugfix: prompt displays the current directory as "~rvm_rvmrc_cwd"
# http://beginrescueend.com/integration/zsh/
unsetopt auto_name_dirs
source $HOME/.rvm/scripts/rvm
fi

View file

@ -33,4 +33,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...