File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ alias __git_branch="git branch 2>/dev/null | grep '*' | sed 's/*\ //g'"
34
34
_git_status() {
35
35
git branch &>/dev/null || return 1
36
36
if LC_ALL=C git status | grep -q "nothing to commit"; then
37
- echo -e "\01\e[1m\02@\01\e[0;32m\02 $(__git_branch)\01\e[0m\02"
37
+ echo -e "\01\e[1m\02@\01\e[0;32m\0002 $(__git_branch)\01\e[0m\02"
38
38
elif LC_ALL=C git status | grep -q "nothing added to commit"; then # Untracked
39
- echo -e "\01\e[1m\02@\01\e[0;35m\02 $(__git_branch)\01\e[0m\02"
39
+ echo -e "\01\e[1m\02@\01\e[0;35m\0002 $(__git_branch)\01\e[0m\02"
40
40
else # Change not added/not merged yet
41
- echo -e "\01\e[1m\02@\01$IRED\02 $(__git_branch)\01\e[0m\02"
41
+ echo -e "\01\e[1m\02@\01$IRED\0002 $(__git_branch)\01\e[0m\02"
42
42
fi
43
43
}
44
44
You can’t perform that action at this time.
0 commit comments