|
@@ -76,7 +76,7 @@ fi
|
76
|
76
|
|
77
|
77
|
# Prompt
|
78
|
78
|
function parse_git_dirty {
|
79
|
|
- [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit, working tree clean" ]] && echo "*"
|
|
79
|
+ [[ $(git status 2> /dev/null | tail -n1) != "rien à valider, la copie de travail est propre" ]] && echo "*"
|
80
|
80
|
}
|
81
|
81
|
function parse_git_branch {
|
82
|
82
|
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\(\1$(parse_git_dirty)\)/"
|