|
@@ -85,7 +85,7 @@ fi
|
85
|
85
|
|
86
|
86
|
# Prompt
|
87
|
87
|
function parse_git_dirty {
|
88
|
|
- [[ $(git status 2> /dev/null | tail -n1) != "rien à valider, la copie de travail est propre" ]] && echo "*"
|
|
88
|
+ [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit, working directory clean" ]] && echo "*"
|
89
|
89
|
}
|
90
|
90
|
function parse_git_branch {
|
91
|
91
|
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\(\1$(parse_git_dirty)\)/"
|