1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-22 01:37:14 +01:00

parse_git_dirty function works again

This commit is contained in:
Matthias Kretschmann 2013-08-28 11:10:59 +02:00
parent d905f3c554
commit f47261cb22

View File

@ -51,7 +51,7 @@ export BOLD
export RESET
function parse_git_dirty() {
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*"
[[ $(git status 2> /dev/null | tail -n1) != *"working directory clean"* ]] && echo "*"
}
function parse_git_branch() {