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.
For Windows WSL users, install Zhiyin.otf and configure your VSCode by adding this to the settings.json "terminal.integrated.fontFamily": " 'Cascadia Mono',Menlo, Monaco, 'Courier New', monospace, Zhiyin"
.
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