Display an emoji based on time since your last commit to a git repo
UNLICENSE License
Displays an emoji based on the amount of time since you last committed to the git repo in your current directory.
For best results, add it your PS1:
export PS1="\[\e]0;Terminal\a\]\W \$(gitmoji && echo -n ' ')\$ "
The gitmoji && echo -n ' '
means it’ll only echo a space if gitmoji
exits cleanly.
That’ll look something like this:
Unlicensed. Do anything with it.