From d2ccf055e417980f79cea1434f4be1e17c5628af Mon Sep 17 00:00:00 2001 From: tinogomes Date: Thu, 12 May 2011 08:19:45 -0300 Subject: [PATCH] Bugfix: prompt display the current directory as "~rvm_rvmrc_cwd" --- lib/rvm.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/rvm.zsh b/lib/rvm.zsh index 597be1b33..5c354cd88 100644 --- a/lib/rvm.zsh +++ b/lib/rvm.zsh @@ -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