Inspired by Zhiyin, emoji-ps1 and built on ys-zsh-theme
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.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