diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-10-08 17:56:08 +0300 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-10-08 17:56:08 +0300 |
commit | 3d2532beb0547a6c5a926d118a4441e8b5bf35d0 (patch) | |
tree | d0513fec7e0423f6c0fde2354a282af7b918aca0 /.functions | |
parent | ce82a1814a9c950bfef5cea26655247ffb375d58 (diff) | |
download | dotfiles-3d2532beb0547a6c5a926d118a4441e8b5bf35d0.tar.gz dotfiles-3d2532beb0547a6c5a926d118a4441e8b5bf35d0.tar.bz2 dotfiles-3d2532beb0547a6c5a926d118a4441e8b5bf35d0.zip |
Make the `json()` function more generic by allowing any JSON string instead of just JSON URLs.
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ function httpcompression() { } function json() { - curl "$*" | python -mjson.tool | pygmentize -l javascript + python -mjson.tool <<< "$*" | pygmentize -l javascript } # All the dig info |