It's from my zsh theme: https://raw.github.com/igorgue/oh-my-zsh/master/themes/igorg... I stole it from the cloud theme and another theme that I don't remember.
The thunder lights up when the program doesn't end property (return 0).
[1] <3 thunder http://wiki.xkcd.com/irc/Heart_Thunder
Inspired! Did you come up with that part?
This is the code add it at the end of your prompt:
function thunder() { echo "%(?,%{$fg_bold[grey]%}⚡%{$reset_color%},%{$fg_bold[yellow]%}⚡%{$reset_color%})" }
It's from my zsh theme: https://raw.github.com/igorgue/oh-my-zsh/master/themes/igorg... I stole it from the cloud theme and another theme that I don't remember.
The thunder lights up when the program doesn't end property (return 0).
[1] <3 thunder http://wiki.xkcd.com/irc/Heart_Thunder