diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-25 15:44:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-25 15:44:49 +0300 |
commit | 988abdcdf20a61fe1a901c60343e9d9575605279 (patch) | |
tree | 097e4177c5348991ace71bd64697b706871aac10 /status.sh | |
parent | 45ba625fae1c8667b76ae2a543a7a7dd1d462982 (diff) | |
download | all-988abdcdf20a61fe1a901c60343e9d9575605279.tar.gz all-988abdcdf20a61fe1a901c60343e9d9575605279.tar.bz2 all-988abdcdf20a61fe1a901c60343e9d9575605279.tar.xz all-988abdcdf20a61fe1a901c60343e9d9575605279.zip |
In status.sh add color for commit id.
Diffstat (limited to 'status.sh')
-rwxr-xr-x | status.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |