Fix rvm prompt issue introduced @6496acf58b

This commit is contained in:
Jeff Dutil 2012-02-22 12:06:24 -05:00
commit c4ac5c6b53
11 changed files with 11 additions and 11 deletions

View file

@ -12,7 +12,7 @@ function collapse_pwd {
echo $(pwd | sed -e "s,^$HOME,~,")
}
if which rvm-prompt &> /dev/null; then
if [ -e ~/.rvm/bin/rvm-prompt ]; then
PROMPT='%{$fg[magenta]%}%n%{$reset_color%} at %{$fg[yellow]%}%m%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info) using %{$reset_color%}%{$fg[red]%}$(~/.rvm/bin/rvm-prompt)%{$reset_color%}
$(virtualenv_info)$(prompt_char) '
else