{"action":"created","issue":{"url":"https://api.github.com/repos/rafaelrinaldi/pure/issues/23","repository_url":"https://api.github.com/repos/rafaelrinaldi/pure","labels_url":"https://api.github.com/repos/rafaelrinaldi/pure/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/rafaelrinaldi/pure/issues/23/comments","events_url":"https://api.github.com/repos/rafaelrinaldi/pure/issues/23/events","html_url":"https://github.com/rafaelrinaldi/pure/pull/23","id":133861661,"number":23,"title":"Switch to using which instead of command -s","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":[{"url":"https://api.github.com/repos/rafaelrinaldi/pure/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-16T01:59:26Z","updated_at":"2016-02-17T17:44:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rafaelrinaldi/pure/pulls/23","html_url":"https://github.com/rafaelrinaldi/pure/pull/23","diff_url":"https://github.com/rafaelrinaldi/pure/pull/23.diff","patch_url":"https://github.com/rafaelrinaldi/pure/pull/23.patch"},"body":"`command -s` is only available in 2.2.0, so using `which` instead of `command -s` would make Pure compatible with most folks that have not upgraded to 2.2.0 for one reason or another.\r\n\r\nNo reason to keep lingering in 2.1.2, but this change adds support to fish 2.1.2 and possibly lower."},"comment":{"url":"https://api.github.com/repos/rafaelrinaldi/pure/issues/comments/185321518","html_url":"https://github.com/rafaelrinaldi/pure/pull/23#issuecomment-185321518","issue_url":"https://api.github.com/repos/rafaelrinaldi/pure/issues/23","id":185321518,"user":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T17:44:15Z","updated_at":"2016-02-17T17:44:15Z","body":"@bucaran Thanks !\r\n@rafaelrinaldi  This is indeed a [new features in fish `2.2.0`](http://fishshell.com/release_notes.html) you can see the discussion in fish-shell/fish-shell#540."}}