1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-10 17:30:41 +01:00

Change dirty git string to a yello X

This commit is contained in:
Geoff Garside
2009-08-31 21:23:35 +01:00
parent 841cca16a6
commit a9c1830462

View File

@@ -13,5 +13,5 @@ function git_prompt_info() {
} }
parse_git_dirty () { 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%}"
} }