mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 12:48:01 +00:00
Change dirty git string to a yello X
This commit is contained in:
parent
7b844f8aa3
commit
5f039558a3
2
git.zsh
2
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%}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user