mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-16 23:06:45 +08:00
Change dirty git string to a yello X
This commit is contained in:
1 parent
841cca16a6
commit
a9c1830462
1 file changed
+1
-1
@@ -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%}"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user