new feature : as root, in a git repo the ± replace the #

This commit is contained in:
Florian Le Frioux 2012-07-23 16:52:46 +02:00 committed by nojhan
parent 606377bd24
commit 275f6abc69

View File

@ -589,7 +589,11 @@ __smart_mark()
echo -ne "${WHITE}\\\$${NO_COL}"
fi
else
echo -ne "${RED}#${NO_COL}"
if [ ! -z $(__git_branch) ]; then
echo -ne "${RED}±${NO_COL}"
else
echo -ne "${RED}#${NO_COL}"
fi
fi
}