This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It looks like this but with color and stuff: | |
# (macbot • sample_app ┣master ∆68m)$ | |
# (macbot • autumn ┣master ∆2yr8mo)$ | |
function relative_time_since_last_commit { | |
last_commit=`git log --pretty=format:'%ar' -1` | |
echo ${last_commit} | |
} | |