{"action":"created","issue":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/295","labels_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/295/comments","events_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/295/events","html_url":"https://github.com/bpinto/oh-my-fish/issues/295","id":53910006,"number":295,"title":"Sparklines for your Fish","user":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-09T20:16:30Z","updated_at":"2015-01-10T04:05:50Z","closed_at":null,"body":"## [_shark_](https://github.com/bucaran/shark)\r\n\r\nA fish port of [spark](https://github.com/holman/spark).\r\n\r\n## Install\r\n\r\n```sh\r\ngit clone https://github.com/bucaran/shark\r\ncd shark\r\ncp shark /your/bin/shark # e.g /usr/local/bin/shark\r\nfish -c \"for i in (seq 127); random; end\" | shark\r\n```\r\n### Summary\r\n\r\nParse a string or stream of characters and generate [sparklines](http://en.wikipedia.org/wiki/Sparkline) for any real positive numbers in a dataset.\r\n\r\n```\r\n$ shark 1 5 22 13 53\r\n   ▁▁▃▂█\r\n$ shark 0,30,55,80,33,150\r\n   ▁▂▃▄▂█\r\n$ echo 1/2/3/5/6/7/5/8/2 | shark\r\n   ▁▂▃▅▆▇▅█▂\r\n$ echo 9 13 5 17 1 | shark\r\n   ▄▆▂█▁\r\n```\r\nI would like to adapt _shark_ for Oh-My-Fish. \r\n\r\nWhat do you think?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/comments/69439169","html_url":"https://github.com/bpinto/oh-my-fish/issues/295#issuecomment-69439169","issue_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/295","id":69439169,"user":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T04:05:50Z","updated_at":"2015-01-10T04:05:50Z","body":"I like this. Perhaps someone will say a bit too naive, but I can't think what's so bad about this approach.\r\n\r\nIn the meantime, a trivial, but risk-free solution would be not adding anything to the `$PATH`, keep binaries in `$fish_path/packages` and have a global variable `$pkg` set to this path so as to allow `echo 1 2 3 | $pkg/shark`"}}