From cc6e872f21e4b4b0a1b36b88ce1f2de5687770c0 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