diff --git a/af-magic.zsh-theme b/af-magic.zsh-theme index a7627bc..334f033 100755 --- a/af-magic.zsh-theme +++ b/af-magic.zsh-theme @@ -62,17 +62,8 @@ eval my_gray='$FG[237]' eval my_orange='$FG[214]' # right prompt -if type "virtualenv_prompt_info" > /dev/null -then - if [[ $EUID -ne 0 ]] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ] && [ -z "$SSH_CLIENT" ]; then - RPROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%' - else - RPROMPT='$(virtualenv_prompt_info)$my_red%n@%m%{$reset_color%}%' - fi +if [[ $EUID -ne 0 ]] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ] && [ -z "$SSH_CLIENT" ]; then + RPROMPT="$my_gray%n@%m%{$reset_color%}%" else - if [[ $EUID -ne 0 ]] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ] && [ -z "$SSH_CLIENT" ]; then - RPROMPT='$my_gray%n@%m%{$reset_color%}%' - else - RPROMPT='$my_red%n@%m%{$reset_color%}%' - fi + RPROMPT="$my_red%n@%m%{$reset_color%}%" fi