💄 Colorized output of -r flag
This commit is contained in:
parent
952b2d8125
commit
042f4e3384
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ else
|
||||||
j=$(echo ${i} + 1 | bc)
|
j=$(echo ${i} + 1 | bc)
|
||||||
# nextcommit prints out each verbosecommit message one by one
|
# nextcommit prints out each verbosecommit message one by one
|
||||||
nextcommit=$(echo "${verbosecommits}" | head -n $j | tail -n 1)
|
nextcommit=$(echo "${verbosecommits}" | head -n $j | tail -n 1)
|
||||||
echo -e "${i}) ${commitarray[$i]}${nextcommit}"
|
echo -e "${i}) ${txtyellow}${commitarray[$i]}${txtblue}${nextcommit}${txtwhite}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# and asks the user to choose a commit to revert back to
|
# and asks the user to choose a commit to revert back to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue