浏览代码

Merge pull request #553 from benlumley/master

Improvement to gallois theme
Robby Russell 13 年之前
父节点
当前提交
91926dc80a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      themes/gallois.zsh-theme

+ 2 - 0
themes/gallois.zsh-theme

@@ -14,6 +14,8 @@ git_custom_status() {
 #RVM and git settings
 if [[ -s ~/.rvm/scripts/rvm ]] ; then 
   RPS1='$(git_custom_status)%{$fg[red]%}[`~/.rvm/bin/rvm-prompt`]%{$reset_color%} $EPS1'
+else
+  RPS1='$(git_custom_status) $EPS1'
 fi
 
 PROMPT='%{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b '