summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-25 15:44:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-25 15:44:49 +0300
commit988abdcdf20a61fe1a901c60343e9d9575605279 (patch)
tree097e4177c5348991ace71bd64697b706871aac10
parent45ba625fae1c8667b76ae2a543a7a7dd1d462982 (diff)
downloadall-988abdcdf20a61fe1a901c60343e9d9575605279.tar.gz
all-988abdcdf20a61fe1a901c60343e9d9575605279.tar.bz2
all-988abdcdf20a61fe1a901c60343e9d9575605279.tar.xz
all-988abdcdf20a61fe1a901c60343e9d9575605279.zip
In status.sh add color for commit id.
-rwxr-xr-xstatus.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.sh b/status.sh
index beab366..1aa3e26 100755
--- a/status.sh
+++ b/status.sh
@@ -11,7 +11,7 @@ function status {
STR3=`git status -s -uno`
if [[ "${CMD}" == "commit" || "${CMD}" == "c" ]]; then
COMMIT=`git rev-parse HEAD`
- echo "$2: ${COMMIT}"
+ echo -e "$2: \e[1;33m${COMMIT}\e[0m"
fi
if [[ -n "${STR}${STR2}${STR3}" ]]; then
if [[ "${CMD}" != "commit" && "${CMD}" != "c" ]]; then