Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 472 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 472 Bytes

TimeToEmoji

For Mac OSX supporting emojis, you can display the hours (🕙) as emojis in your custom terminal.

  1. Compile main.cpp and add the binary to /usr/local/bin

  2. Edit your bashrc (or zsh-theme) file. Mine looks like that :

...
function emojiTime() {
time2emoji
}

PROMPT='%{$reset_color%}$(emojiTime)  '
...

Assuming time2emoji is the built binary from step 1.

alt tag