a9c18304621b045d90a2fc328da79f29a2de6b42
- Author
- Geoff Garside <geoff@geoffgarside.co.uk>
- Committer
- Geoff Garside <geoff@geoffgarside.co.uk>
- Date
Message
Change dirty git string to a yello X
Diff
1diff --git a/git.zsh b/git.zsh
2index 7f5714f74388d003cf660e4cf845af95c0fb2a95..85279265eb95b32a0a3842c11d3d6e4ea098b4be 100644
3--- a/git.zsh
4+++ b/git.zsh
5@@ -13,5 +13,5 @@ function git_prompt_info() {
6 }
7
8 parse_git_dirty () {
9- [[ $(git status | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "%{$fg[white] ♻ "
10+ [[ $(git status | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "%{$fg[yellow]%}✗%{$reset_color%}"
11 }