evilstreak / gitmoji

Display an emoji based on time since your last commit to a git repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitmoji

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:

Gitmoji

See also

License

Unlicensed. Do anything with it.

About

Display an emoji based on time since your last commit to a git repo

License:The Unlicense


Languages

Language:Shell 100.0%