{"action":"created","issue":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/447","labels_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/447/comments","events_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/447/events","html_url":"https://github.com/bpinto/oh-my-fish/pull/447","id":73372837,"number":447,"title":"FIxing a problem caused by the strange \"command command -v rbenv\" command","user":{"login":"Bastes","id":10667,"avatar_url":"https://avatars.githubusercontent.com/u/10667?v=3","gravatar_id":"","url":"https://api.github.com/users/Bastes","html_url":"https://github.com/Bastes","followers_url":"https://api.github.com/users/Bastes/followers","following_url":"https://api.github.com/users/Bastes/following{/other_user}","gists_url":"https://api.github.com/users/Bastes/gists{/gist_id}","starred_url":"https://api.github.com/users/Bastes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bastes/subscriptions","organizations_url":"https://api.github.com/users/Bastes/orgs","repos_url":"https://api.github.com/users/Bastes/repos","events_url":"https://api.github.com/users/Bastes/events{/privacy}","received_events_url":"https://api.github.com/users/Bastes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-05T17:16:23Z","updated_at":"2015-05-05T21:16:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/447","html_url":"https://github.com/bpinto/oh-my-fish/pull/447","diff_url":"https://github.com/bpinto/oh-my-fish/pull/447.diff","patch_url":"https://github.com/bpinto/oh-my-fish/pull/447.patch"},"body":"(see discussion on commit f4faa2e812c96c371fabee46d1c02e8cf2b3d6b2)\r\n\r\nThe fix inverts the position of the strange \"command command -v rbenv\" that fails noisily, so that the standard position for the rbenv file is evaluated first and the failing line doesn't need to be triggered in these cases.\r\n\r\nTested on my environment, it seems to work."},"comment":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/comments/99224852","html_url":"https://github.com/bpinto/oh-my-fish/pull/447#issuecomment-99224852","issue_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/447","id":99224852,"user":{"login":"bobthecow","id":53660,"avatar_url":"https://avatars.githubusercontent.com/u/53660?v=3","gravatar_id":"","url":"https://api.github.com/users/bobthecow","html_url":"https://github.com/bobthecow","followers_url":"https://api.github.com/users/bobthecow/followers","following_url":"https://api.github.com/users/bobthecow/following{/other_user}","gists_url":"https://api.github.com/users/bobthecow/gists{/gist_id}","starred_url":"https://api.github.com/users/bobthecow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobthecow/subscriptions","organizations_url":"https://api.github.com/users/bobthecow/orgs","repos_url":"https://api.github.com/users/bobthecow/repos","events_url":"https://api.github.com/users/bobthecow/events{/privacy}","received_events_url":"https://api.github.com/users/bobthecow/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T21:16:42Z","updated_at":"2015-05-05T21:16:42Z","body":"but moving it around still means the issue is there. you just hid it for *you* :)\r\n\r\nwe can fix the actual cause rather than hiding the symptom. just check for `which command` before trying `command command ...`."}}