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:
parent
d905f3c554
commit
f47261cb22
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user