News for hackers. Stuff that matters.
Re:PJSON: pretty, colorful json output formatting for terminal by igorgue on Tuesday September 18, 2012 @08:11PM (#4541308)
Author here, unfortunately no thunder on Mountain Lion :( [1]

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

Re:PJSON: pretty, colorful json output formatting for terminal by ZoFreX on Wednesday September 19, 2012 @08:44AM (#4543261)
> The thunder lights up when the program doesn't end property (return 0).

Inspired! Did you come up with that part?

Re:PJSON: pretty, colorful json output formatting for terminal by igorgue on Wednesday September 19, 2012 @03:12PM (#4545032)
Haha yes.

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%})"
    }