浏览代码

Added virtualenv plugin data to af-magic theme.

Nathan Cox 10 年之前
父节点
当前提交
dfe36d7b7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/af-magic.zsh-theme

+ 1 - 1
themes/af-magic.zsh-theme

@@ -27,7 +27,7 @@ eval my_gray='$FG[237]'
 eval my_orange='$FG[214]'
 
 # right prompt
-RPROMPT='$my_gray%n@%m%{$reset_color%}%'
+PROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
 
 # git settings
 ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"