|
|
@ -24,12 +24,12 @@ function parse_git_status {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if [[ $(git status 2> /dev/null | grep "working directory clean" | wc -l) -eq 0 ]]; then
|
|
|
|
if [[ $(git status 2> /dev/null | grep "working directory clean" | wc -l) -eq 0 ]]; then
|
|
|
|
echo '∓'
|
|
|
|
echo ' ∓'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function parse_git_branch {
|
|
|
|
function parse_git_branch {
|
|
|
|
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
|
|
|
|
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function get-create-date {
|
|
|
|
function get-create-date {
|
|
|
|