浏览代码

Change dirty git string to a yello X

Geoff Garside 15 年之前
父节点
当前提交
a9c1830462
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      git.zsh

+ 1 - 1
git.zsh

@@ -13,5 +13,5 @@ function git_prompt_info() {
 }
 
 parse_git_dirty () {
-  [[ $(git status | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "%{$fg[white] ♻ "
+  [[ $(git status | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "%{$fg[yellow]%}✗%{$reset_color%}"
 }