Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 582 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 582 Bytes

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.