News for hackers. Stuff that matters.
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%})"
    }