[#3238] swapping out %~ for %1/ in a few themes to fix rvm_project_path issue

This commit is contained in:
Benjamin Rosas 2014-10-20 09:41:16 -05:00
commit 2f884811bb
15 changed files with 15 additions and 15 deletions

View file

@ -34,7 +34,7 @@ fi
local return_code="%(?..%{$PR_RED%}%? ↵%{$PR_NO_COLOR%})"
local user_host='${PR_USER}${PR_CYAN}@${PR_HOST}'
local current_dir='%{$PR_BOLD$PR_BLUE%}%~%{$PR_NO_COLOR%}'
local current_dir='%{$PR_BOLD$PR_BLUE%}%1/%{$PR_NO_COLOR%}'
local rvm_ruby=''
if ${HOME}/.rvm/bin/rvm-prompt &> /dev/null; then # detect local user rvm installation
rvm_ruby='%{$PR_RED%}$(${HOME}/.rvm/bin/rvm-prompt i v g s)%{$PR_NO_COLOR%}'