Created
December 10, 2014 03:33
-
-
Save Genki-S/0afb54536a89d7962fa8 to your computer and use it in GitHub Desktop.
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
# Show sushi if current second is 29 | |
show_niku() { | |
local sec=$(date +%S) | |
if [ $sec -eq 29 ]; then | |
echo "🍣" | |
fi | |
} | |
# it goes well with zsh precmd hook | |
add-zsh-hook precmd show_niku |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment