{"action":"created","comment":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/comments/29048532","id":29048532,"diff_hunk":"@@ -516,9 +517,9 @@ end\n ################\n function __budspencer_prompt_git_branch -d 'Return the current branch name'\n   set -l branch (command git symbolic-ref HEAD ^ /dev/null | sed -e 's|^refs/heads/||')\n-  if not test $branch > /dev/null\n+  if [ \"x$branch\" = \"x\" ] ","path":"themes/budspencer/fish_prompt.fish","position":40,"original_position":40,"commit_id":"4fceb0b9303c26d4512fbd8a1d9451c85c29e822","original_commit_id":"4fceb0b9303c26d4512fbd8a1d9451c85c29e822","user":{"login":"bpinto","id":526122,"avatar_url":"https://avatars.githubusercontent.com/u/526122?v=3","gravatar_id":"","url":"https://api.github.com/users/bpinto","html_url":"https://github.com/bpinto","followers_url":"https://api.github.com/users/bpinto/followers","following_url":"https://api.github.com/users/bpinto/following{/other_user}","gists_url":"https://api.github.com/users/bpinto/gists{/gist_id}","starred_url":"https://api.github.com/users/bpinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpinto/subscriptions","organizations_url":"https://api.github.com/users/bpinto/orgs","repos_url":"https://api.github.com/users/bpinto/repos","events_url":"https://api.github.com/users/bpinto/events{/privacy}","received_events_url":"https://api.github.com/users/bpinto/received_events","type":"User","site_admin":false},"body":"It's a hack imo.","created_at":"2015-04-24T13:37:34Z","updated_at":"2015-04-24T13:37:34Z","html_url":"https://github.com/bpinto/oh-my-fish/pull/435#discussion_r29048532","pull_request_url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435","_links":{"self":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/comments/29048532"},"html":{"href":"https://github.com/bpinto/oh-my-fish/pull/435#discussion_r29048532"},"pull_request":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435"}}},"pull_request":{"url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435","id":34046043,"html_url":"https://github.com/bpinto/oh-my-fish/pull/435","diff_url":"https://github.com/bpinto/oh-my-fish/pull/435.diff","patch_url":"https://github.com/bpinto/oh-my-fish/pull/435.patch","issue_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/435","number":435,"state":"open","locked":false,"title":"Add grc plugin, budspencer theme update","user":{"login":"tannhuber","id":2333069,"avatar_url":"https://avatars.githubusercontent.com/u/2333069?v=3","gravatar_id":"","url":"https://api.github.com/users/tannhuber","html_url":"https://github.com/tannhuber","followers_url":"https://api.github.com/users/tannhuber/followers","following_url":"https://api.github.com/users/tannhuber/following{/other_user}","gists_url":"https://api.github.com/users/tannhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/tannhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannhuber/subscriptions","organizations_url":"https://api.github.com/users/tannhuber/orgs","repos_url":"https://api.github.com/users/tannhuber/repos","events_url":"https://api.github.com/users/tannhuber/events{/privacy}","received_events_url":"https://api.github.com/users/tannhuber/received_events","type":"User","site_admin":false},"body":"grc plugin added","created_at":"2015-04-24T13:01:13Z","updated_at":"2015-04-24T13:37:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8619e79760e6c7d406d8b9f307dbeb0ade22021e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435/commits","review_comments_url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435/comments","review_comment_url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/435/comments","statuses_url":"https://api.github.com/repos/bpinto/oh-my-fish/statuses/4fceb0b9303c26d4512fbd8a1d9451c85c29e822","head":{"label":"tannhuber:master","ref":"master","sha":"4fceb0b9303c26d4512fbd8a1d9451c85c29e822","user":{"login":"tannhuber","id":2333069,"avatar_url":"https://avatars.githubusercontent.com/u/2333069?v=3","gravatar_id":"","url":"https://api.github.com/users/tannhuber","html_url":"https://github.com/tannhuber","followers_url":"https://api.github.com/users/tannhuber/followers","following_url":"https://api.github.com/users/tannhuber/following{/other_user}","gists_url":"https://api.github.com/users/tannhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/tannhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannhuber/subscriptions","organizations_url":"https://api.github.com/users/tannhuber/orgs","repos_url":"https://api.github.com/users/tannhuber/repos","events_url":"https://api.github.com/users/tannhuber/events{/privacy}","received_events_url":"https://api.github.com/users/tannhuber/received_events","type":"User","site_admin":false},"repo":{"id":22279740,"name":"oh-my-fish","full_name":"tannhuber/oh-my-fish","owner":{"login":"tannhuber","id":2333069,"avatar_url":"https://avatars.githubusercontent.com/u/2333069?v=3","gravatar_id":"","url":"https://api.github.com/users/tannhuber","html_url":"https://github.com/tannhuber","followers_url":"https://api.github.com/users/tannhuber/followers","following_url":"https://api.github.com/users/tannhuber/following{/other_user}","gists_url":"https://api.github.com/users/tannhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/tannhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannhuber/subscriptions","organizations_url":"https://api.github.com/users/tannhuber/orgs","repos_url":"https://api.github.com/users/tannhuber/repos","events_url":"https://api.github.com/users/tannhuber/events{/privacy}","received_events_url":"https://api.github.com/users/tannhuber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tannhuber/oh-my-fish","description":"WARNING: This repository is rebased frequently. The original oh-my-fish repository is here: https://github.com/bpinto/oh-my-fish","fork":true,"url":"https://api.github.com/repos/tannhuber/oh-my-fish","forks_url":"https://api.github.com/repos/tannhuber/oh-my-fish/forks","keys_url":"https://api.github.com/repos/tannhuber/oh-my-fish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tannhuber/oh-my-fish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tannhuber/oh-my-fish/teams","hooks_url":"https://api.github.com/repos/tannhuber/oh-my-fish/hooks","issue_events_url":"https://api.github.com/repos/tannhuber/oh-my-fish/issues/events{/number}","events_url":"https://api.github.com/repos/tannhuber/oh-my-fish/events","assignees_url":"https://api.github.com/repos/tannhuber/oh-my-fish/assignees{/user}","branches_url":"https://api.github.com/repos/tannhuber/oh-my-fish/branches{/branch}","tags_url":"https://api.github.com/repos/tannhuber/oh-my-fish/tags","blobs_url":"https://api.github.com/repos/tannhuber/oh-my-fish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tannhuber/oh-my-fish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tannhuber/oh-my-fish/git/refs{/sha}","trees_url":"https://api.github.com/repos/tannhuber/oh-my-fish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tannhuber/oh-my-fish/statuses/{sha}","languages_url":"https://api.github.com/repos/tannhuber/oh-my-fish/languages","stargazers_url":"https://api.github.com/repos/tannhuber/oh-my-fish/stargazers","contributors_url":"https://api.github.com/repos/tannhuber/oh-my-fish/contributors","subscribers_url":"https://api.github.com/repos/tannhuber/oh-my-fish/subscribers","subscription_url":"https://api.github.com/repos/tannhuber/oh-my-fish/subscription","commits_url":"https://api.github.com/repos/tannhuber/oh-my-fish/commits{/sha}","git_commits_url":"https://api.github.com/repos/tannhuber/oh-my-fish/git/commits{/sha}","comments_url":"https://api.github.com/repos/tannhuber/oh-my-fish/comments{/number}","issue_comment_url":"https://api.github.com/repos/tannhuber/oh-my-fish/issues/comments{/number}","contents_url":"https://api.github.com/repos/tannhuber/oh-my-fish/contents/{+path}","compare_url":"https://api.github.com/repos/tannhuber/oh-my-fish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tannhuber/oh-my-fish/merges","archive_url":"https://api.github.com/repos/tannhuber/oh-my-fish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tannhuber/oh-my-fish/downloads","issues_url":"https://api.github.com/repos/tannhuber/oh-my-fish/issues{/number}","pulls_url":"https://api.github.com/repos/tannhuber/oh-my-fish/pulls{/number}","milestones_url":"https://api.github.com/repos/tannhuber/oh-my-fish/milestones{/number}","notifications_url":"https://api.github.com/repos/tannhuber/oh-my-fish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tannhuber/oh-my-fish/labels{/name}","releases_url":"https://api.github.com/repos/tannhuber/oh-my-fish/releases{/id}","created_at":"2014-07-26T06:07:39Z","updated_at":"2015-04-24T12:58:15Z","pushed_at":"2015-04-24T12:58:15Z","git_url":"git://github.com/tannhuber/oh-my-fish.git","ssh_url":"git@github.com:tannhuber/oh-my-fish.git","clone_url":"https://github.com/tannhuber/oh-my-fish.git","svn_url":"https://github.com/tannhuber/oh-my-fish","homepage":"","size":2177,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bpinto:master","ref":"master","sha":"82bc5e6823d3911d32fd4b6e545053dc37bf6c29","user":{"login":"bpinto","id":526122,"avatar_url":"https://avatars.githubusercontent.com/u/526122?v=3","gravatar_id":"","url":"https://api.github.com/users/bpinto","html_url":"https://github.com/bpinto","followers_url":"https://api.github.com/users/bpinto/followers","following_url":"https://api.github.com/users/bpinto/following{/other_user}","gists_url":"https://api.github.com/users/bpinto/gists{/gist_id}","starred_url":"https://api.github.com/users/bpinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpinto/subscriptions","organizations_url":"https://api.github.com/users/bpinto/orgs","repos_url":"https://api.github.com/users/bpinto/repos","events_url":"https://api.github.com/users/bpinto/events{/privacy}","received_events_url":"https://api.github.com/users/bpinto/received_events","type":"User","site_admin":false},"repo":{"id":5152538,"name":"oh-my-fish","full_name":"bpinto/oh-my-fish","owner":{"login":"bpinto","id":526122,"avatar_url":"https://avatars.githubusercontent.com/u/526122?v=3","gravatar_id":"","url":"https://api.github.com/users/bpinto","html_url":"https://github.com/bpinto","followers_url":"https://api.github.com/users/bpinto/followers","following_url":"https://api.github.com/users/bpinto/following{/other_user}","gists_url":"https://api.github.com/users/bpinto/gists{/gist_id}","starred_url":"https://api.github.com/users/bpinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpinto/subscriptions","organizations_url":"https://api.github.com/users/bpinto/orgs","repos_url":"https://api.github.com/users/bpinto/repos","events_url":"https://api.github.com/users/bpinto/events{/privacy}","received_events_url":"https://api.github.com/users/bpinto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bpinto/oh-my-fish","description":"Framework for managing your fish shell configuration inspired by Oh My ZSH.","fork":false,"url":"https://api.github.com/repos/bpinto/oh-my-fish","forks_url":"https://api.github.com/repos/bpinto/oh-my-fish/forks","keys_url":"https://api.github.com/repos/bpinto/oh-my-fish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bpinto/oh-my-fish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bpinto/oh-my-fish/teams","hooks_url":"https://api.github.com/repos/bpinto/oh-my-fish/hooks","issue_events_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/events{/number}","events_url":"https://api.github.com/repos/bpinto/oh-my-fish/events","assignees_url":"https://api.github.com/repos/bpinto/oh-my-fish/assignees{/user}","branches_url":"https://api.github.com/repos/bpinto/oh-my-fish/branches{/branch}","tags_url":"https://api.github.com/repos/bpinto/oh-my-fish/tags","blobs_url":"https://api.github.com/repos/bpinto/oh-my-fish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bpinto/oh-my-fish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bpinto/oh-my-fish/git/refs{/sha}","trees_url":"https://api.github.com/repos/bpinto/oh-my-fish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bpinto/oh-my-fish/statuses/{sha}","languages_url":"https://api.github.com/repos/bpinto/oh-my-fish/languages","stargazers_url":"https://api.github.com/repos/bpinto/oh-my-fish/stargazers","contributors_url":"https://api.github.com/repos/bpinto/oh-my-fish/contributors","subscribers_url":"https://api.github.com/repos/bpinto/oh-my-fish/subscribers","subscription_url":"https://api.github.com/repos/bpinto/oh-my-fish/subscription","commits_url":"https://api.github.com/repos/bpinto/oh-my-fish/commits{/sha}","git_commits_url":"https://api.github.com/repos/bpinto/oh-my-fish/git/commits{/sha}","comments_url":"https://api.github.com/repos/bpinto/oh-my-fish/comments{/number}","issue_comment_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues/comments{/number}","contents_url":"https://api.github.com/repos/bpinto/oh-my-fish/contents/{+path}","compare_url":"https://api.github.com/repos/bpinto/oh-my-fish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bpinto/oh-my-fish/merges","archive_url":"https://api.github.com/repos/bpinto/oh-my-fish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bpinto/oh-my-fish/downloads","issues_url":"https://api.github.com/repos/bpinto/oh-my-fish/issues{/number}","pulls_url":"https://api.github.com/repos/bpinto/oh-my-fish/pulls{/number}","milestones_url":"https://api.github.com/repos/bpinto/oh-my-fish/milestones{/number}","notifications_url":"https://api.github.com/repos/bpinto/oh-my-fish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bpinto/oh-my-fish/labels{/name}","releases_url":"https://api.github.com/repos/bpinto/oh-my-fish/releases{/id}","created_at":"2012-07-23T14:03:47Z","updated_at":"2015-04-24T11:31:57Z","pushed_at":"2015-04-24T13:01:14Z","git_url":"git://github.com/bpinto/oh-my-fish.git","ssh_url":"git@github.com:bpinto/oh-my-fish.git","clone_url":"https://github.com/bpinto/oh-my-fish.git","svn_url":"https://github.com/bpinto/oh-my-fish","homepage":null,"size":6173,"stargazers_count":1232,"watchers_count":1232,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":263,"mirror_url":null,"open_issues_count":14,"forks":263,"open_issues":14,"watchers":1232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435"},"html":{"href":"https://github.com/bpinto/oh-my-fish/pull/435"},"issue":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/issues/435"},"comments":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/bpinto/oh-my-fish/statuses/4fceb0b9303c26d4512fbd8a1d9451c85c29e822"}}}}