News for hackers. Stuff that matters.
Re:PJSON: pretty, colorful json output formatting for terminal by maratd on Tuesday September 18, 2012 @07:46PM (#4541202)
Wait wait ... what are the unicode characters for that cloud and lightning bolt? That looks awesome.
Re:PJSON: pretty, colorful json output formatting for terminal by JoshTriplett on Tuesday September 18, 2012 @07:54PM (#4541236)
Thanks to gucharmap's excellent Unicode character search:

☁ U+2601 CLOUD

⚡ U+26A1 HIGH VOLTAGE SIGN

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%})"
    }
Re:PJSON: pretty, colorful json output formatting for terminal by zokier on Wednesday September 19, 2012 @04:08AM (#4542643)
There is unicode characters (code points, graphemes, whatevs) for everything

http://unicodesnowmanforyou.com/

Re:PJSON: pretty, colorful json output formatting for terminal by mburns on Tuesday September 18, 2012 @07:54PM (#4541238)