more updates
This commit is contained in:
parent
4622ef55f9
commit
7ad495bd05
@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
if git status &>/dev/null; then
|
if git status &>/dev/null; then
|
||||||
branch=$(git branch --show-current)
|
branch=$(git branch --show-current)
|
||||||
|
|
||||||
if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
|
if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
|
||||||
echo "($branch~)"
|
|
||||||
else
|
|
||||||
echo "($branch*)"
|
echo "($branch*)"
|
||||||
|
else
|
||||||
|
echo "($branch~)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user