Inspired by Zhiyin, emoji-ps1 and built on ys-zsh-theme
-
Install
Zhiyin.otf
font, select it in your iTerm2 (under Non-ASCII font) and add it to your VS Code's font family. -
cp zhiyin.zsh-theme ~/.oh-my-zsh/themes/
, or just add this code snippet to your favourite zsh theme. -
Add
psanimate 0.08
to your.zshrc
. 0.08 is the interval between frames, in seconds.
Sing upon ERR signal. Enable by adding below to zhiyin.zsh-theme, and copy niganma.mp3
somewhere you like.
function zhiyin_sing {
afplay ~/Downloads/niganma.mp3
}
trap zhiyin_sing ERR