{"action":"created","comment":{"url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/comments/238067368","pull_request_review_id":180528035,"id":238067368,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA2NzM2OA==","diff_hunk":"@@ -479,6 +479,7 @@ Shows the active kubectl context, which consists of a cluster name and, when wor\n | `SPACESHIP_KUBECONTEXT_SUFFIX` | `$SPACESHIP_PROMPT_DEFAULT_SUFFIX` | Suffix after Kubectl context section |\n | `SPACESHIP_KUBECONTEXT_SYMBOL` | `☸️·` | Character to be shown before Kubectl context |\n | `SPACESHIP_KUBECONTEXT_COLOR` | `cyan` | Color of Kubectl context section |\n+| `SPACESHIP_KUBECONTEXT_NAMESPACE_SHOW` | `true` | Should namespace be also displayed |","path":"docs/Options.md","position":4,"original_position":4,"commit_id":"2026c60950f8e9cda4d8680a0ac78e3c5242b61f","original_commit_id":"2026c60950f8e9cda4d8680a0ac78e3c5242b61f","user":{"login":"denysdovhan","id":3459374,"node_id":"MDQ6VXNlcjM0NTkzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3459374?v=4","gravatar_id":"","url":"https://api.github.com/users/denysdovhan","html_url":"https://github.com/denysdovhan","followers_url":"https://api.github.com/users/denysdovhan/followers","following_url":"https://api.github.com/users/denysdovhan/following{/other_user}","gists_url":"https://api.github.com/users/denysdovhan/gists{/gist_id}","starred_url":"https://api.github.com/users/denysdovhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denysdovhan/subscriptions","organizations_url":"https://api.github.com/users/denysdovhan/orgs","repos_url":"https://api.github.com/users/denysdovhan/repos","events_url":"https://api.github.com/users/denysdovhan/events{/privacy}","received_events_url":"https://api.github.com/users/denysdovhan/received_events","type":"User","site_admin":false},"body":"We need rules for naming new options. Add a section in CONTRIBUTING.md.","created_at":"2018-12-01T15:46:57Z","updated_at":"2018-12-01T15:47:01Z","html_url":"https://github.com/denysdovhan/spaceship-prompt/pull/575#discussion_r238067368","pull_request_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/comments/238067368"},"html":{"href":"https://github.com/denysdovhan/spaceship-prompt/pull/575#discussion_r238067368"},"pull_request":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575"}}},"pull_request":{"url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575","id":234918011,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0OTE4MDEx","html_url":"https://github.com/denysdovhan/spaceship-prompt/pull/575","diff_url":"https://github.com/denysdovhan/spaceship-prompt/pull/575.diff","patch_url":"https://github.com/denysdovhan/spaceship-prompt/pull/575.patch","issue_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues/575","number":575,"state":"closed","locked":false,"title":"Kubernetes namespace display can be turned off","user":{"login":"nomaed","id":9551921,"node_id":"MDQ6VXNlcjk1NTE5MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9551921?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaed","html_url":"https://github.com/nomaed","followers_url":"https://api.github.com/users/nomaed/followers","following_url":"https://api.github.com/users/nomaed/following{/other_user}","gists_url":"https://api.github.com/users/nomaed/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaed/subscriptions","organizations_url":"https://api.github.com/users/nomaed/orgs","repos_url":"https://api.github.com/users/nomaed/repos","events_url":"https://api.github.com/users/nomaed/events{/privacy}","received_events_url":"https://api.github.com/users/nomaed/received_events","type":"User","site_admin":false},"body":"#### Description\r\n\r\nAdds a config flag to the `kubecontext` section to control whether namespace is displayed or not.\r\n\r\nBy default, original behavior is conserved and display is on.\r\n\r\nBy setting `SPACESHIP_KUBECONTEXT_NAMESPACE_SHOW=false` in .zshrc it is possible to get rid of this display in case namespace is not something one is interested in. This also avoids running `kubectl config view --minify --output 'jsonpath={..namespace}'` command.\r\n\r\n#### Screenshot\r\n\r\n![screen shot 2018-11-30 at 11 11 27](https://user-images.githubusercontent.com/9551921/49279657-c0af9300-f490-11e8-9927-8b530338648e.png)\r\n\r\n","created_at":"2018-11-30T09:12:20Z","updated_at":"2018-12-01T15:47:01Z","closed_at":"2018-11-30T17:38:38Z","merged_at":"2018-11-30T17:38:38Z","merge_commit_sha":"bbe26c36799b52e8f73d77414eadb0ae13c440e1","assignee":{"login":"nomaed","id":9551921,"node_id":"MDQ6VXNlcjk1NTE5MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9551921?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaed","html_url":"https://github.com/nomaed","followers_url":"https://api.github.com/users/nomaed/followers","following_url":"https://api.github.com/users/nomaed/following{/other_user}","gists_url":"https://api.github.com/users/nomaed/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaed/subscriptions","organizations_url":"https://api.github.com/users/nomaed/orgs","repos_url":"https://api.github.com/users/nomaed/repos","events_url":"https://api.github.com/users/nomaed/events{/privacy}","received_events_url":"https://api.github.com/users/nomaed/received_events","type":"User","site_admin":false},"assignees":[{"login":"nomaed","id":9551921,"node_id":"MDQ6VXNlcjk1NTE5MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9551921?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaed","html_url":"https://github.com/nomaed","followers_url":"https://api.github.com/users/nomaed/followers","following_url":"https://api.github.com/users/nomaed/following{/other_user}","gists_url":"https://api.github.com/users/nomaed/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaed/subscriptions","organizations_url":"https://api.github.com/users/nomaed/orgs","repos_url":"https://api.github.com/users/nomaed/repos","events_url":"https://api.github.com/users/nomaed/events{/privacy}","received_events_url":"https://api.github.com/users/nomaed/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":610052611,"node_id":"MDU6TGFiZWw2MTAwNTI2MTE=","url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/labels/improvement","name":"improvement","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575/commits","review_comments_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575/comments","review_comment_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues/575/comments","statuses_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/statuses/2026c60950f8e9cda4d8680a0ac78e3c5242b61f","head":{"label":"nomaed:kubectl-optional-namespace","ref":"kubectl-optional-namespace","sha":"2026c60950f8e9cda4d8680a0ac78e3c5242b61f","user":{"login":"nomaed","id":9551921,"node_id":"MDQ6VXNlcjk1NTE5MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9551921?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaed","html_url":"https://github.com/nomaed","followers_url":"https://api.github.com/users/nomaed/followers","following_url":"https://api.github.com/users/nomaed/following{/other_user}","gists_url":"https://api.github.com/users/nomaed/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaed/subscriptions","organizations_url":"https://api.github.com/users/nomaed/orgs","repos_url":"https://api.github.com/users/nomaed/repos","events_url":"https://api.github.com/users/nomaed/events{/privacy}","received_events_url":"https://api.github.com/users/nomaed/received_events","type":"User","site_admin":false},"repo":{"id":159709597,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk3MDk1OTc=","name":"spaceship-prompt","full_name":"nomaed/spaceship-prompt","private":false,"owner":{"login":"nomaed","id":9551921,"node_id":"MDQ6VXNlcjk1NTE5MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9551921?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaed","html_url":"https://github.com/nomaed","followers_url":"https://api.github.com/users/nomaed/followers","following_url":"https://api.github.com/users/nomaed/following{/other_user}","gists_url":"https://api.github.com/users/nomaed/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaed/subscriptions","organizations_url":"https://api.github.com/users/nomaed/orgs","repos_url":"https://api.github.com/users/nomaed/repos","events_url":"https://api.github.com/users/nomaed/events{/privacy}","received_events_url":"https://api.github.com/users/nomaed/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nomaed/spaceship-prompt","description":":rocket::star: A Zsh prompt for Astronauts","fork":true,"url":"https://api.github.com/repos/nomaed/spaceship-prompt","forks_url":"https://api.github.com/repos/nomaed/spaceship-prompt/forks","keys_url":"https://api.github.com/repos/nomaed/spaceship-prompt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nomaed/spaceship-prompt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nomaed/spaceship-prompt/teams","hooks_url":"https://api.github.com/repos/nomaed/spaceship-prompt/hooks","issue_events_url":"https://api.github.com/repos/nomaed/spaceship-prompt/issues/events{/number}","events_url":"https://api.github.com/repos/nomaed/spaceship-prompt/events","assignees_url":"https://api.github.com/repos/nomaed/spaceship-prompt/assignees{/user}","branches_url":"https://api.github.com/repos/nomaed/spaceship-prompt/branches{/branch}","tags_url":"https://api.github.com/repos/nomaed/spaceship-prompt/tags","blobs_url":"https://api.github.com/repos/nomaed/spaceship-prompt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nomaed/spaceship-prompt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nomaed/spaceship-prompt/git/refs{/sha}","trees_url":"https://api.github.com/repos/nomaed/spaceship-prompt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nomaed/spaceship-prompt/statuses/{sha}","languages_url":"https://api.github.com/repos/nomaed/spaceship-prompt/languages","stargazers_url":"https://api.github.com/repos/nomaed/spaceship-prompt/stargazers","contributors_url":"https://api.github.com/repos/nomaed/spaceship-prompt/contributors","subscribers_url":"https://api.github.com/repos/nomaed/spaceship-prompt/subscribers","subscription_url":"https://api.github.com/repos/nomaed/spaceship-prompt/subscription","commits_url":"https://api.github.com/repos/nomaed/spaceship-prompt/commits{/sha}","git_commits_url":"https://api.github.com/repos/nomaed/spaceship-prompt/git/commits{/sha}","comments_url":"https://api.github.com/repos/nomaed/spaceship-prompt/comments{/number}","issue_comment_url":"https://api.github.com/repos/nomaed/spaceship-prompt/issues/comments{/number}","contents_url":"https://api.github.com/repos/nomaed/spaceship-prompt/contents/{+path}","compare_url":"https://api.github.com/repos/nomaed/spaceship-prompt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nomaed/spaceship-prompt/merges","archive_url":"https://api.github.com/repos/nomaed/spaceship-prompt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nomaed/spaceship-prompt/downloads","issues_url":"https://api.github.com/repos/nomaed/spaceship-prompt/issues{/number}","pulls_url":"https://api.github.com/repos/nomaed/spaceship-prompt/pulls{/number}","milestones_url":"https://api.github.com/repos/nomaed/spaceship-prompt/milestones{/number}","notifications_url":"https://api.github.com/repos/nomaed/spaceship-prompt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nomaed/spaceship-prompt/labels{/name}","releases_url":"https://api.github.com/repos/nomaed/spaceship-prompt/releases{/id}","deployments_url":"https://api.github.com/repos/nomaed/spaceship-prompt/deployments","created_at":"2018-11-29T18:25:26Z","updated_at":"2018-12-01T10:43:00Z","pushed_at":"2018-12-01T15:40:03Z","git_url":"git://github.com/nomaed/spaceship-prompt.git","ssh_url":"git@github.com:nomaed/spaceship-prompt.git","clone_url":"https://github.com/nomaed/spaceship-prompt.git","svn_url":"https://github.com/nomaed/spaceship-prompt","homepage":"https://denysdovhan.com/spaceship-prompt/","size":11278,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"denysdovhan:master","ref":"master","sha":"4d705248bf9a7f30ca92ede177c9d78ccd07e95e","user":{"login":"denysdovhan","id":3459374,"node_id":"MDQ6VXNlcjM0NTkzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3459374?v=4","gravatar_id":"","url":"https://api.github.com/users/denysdovhan","html_url":"https://github.com/denysdovhan","followers_url":"https://api.github.com/users/denysdovhan/followers","following_url":"https://api.github.com/users/denysdovhan/following{/other_user}","gists_url":"https://api.github.com/users/denysdovhan/gists{/gist_id}","starred_url":"https://api.github.com/users/denysdovhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denysdovhan/subscriptions","organizations_url":"https://api.github.com/users/denysdovhan/orgs","repos_url":"https://api.github.com/users/denysdovhan/repos","events_url":"https://api.github.com/users/denysdovhan/events{/privacy}","received_events_url":"https://api.github.com/users/denysdovhan/received_events","type":"User","site_admin":false},"repo":{"id":50726688,"node_id":"MDEwOlJlcG9zaXRvcnk1MDcyNjY4OA==","name":"spaceship-prompt","full_name":"denysdovhan/spaceship-prompt","private":false,"owner":{"login":"denysdovhan","id":3459374,"node_id":"MDQ6VXNlcjM0NTkzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3459374?v=4","gravatar_id":"","url":"https://api.github.com/users/denysdovhan","html_url":"https://github.com/denysdovhan","followers_url":"https://api.github.com/users/denysdovhan/followers","following_url":"https://api.github.com/users/denysdovhan/following{/other_user}","gists_url":"https://api.github.com/users/denysdovhan/gists{/gist_id}","starred_url":"https://api.github.com/users/denysdovhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denysdovhan/subscriptions","organizations_url":"https://api.github.com/users/denysdovhan/orgs","repos_url":"https://api.github.com/users/denysdovhan/repos","events_url":"https://api.github.com/users/denysdovhan/events{/privacy}","received_events_url":"https://api.github.com/users/denysdovhan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/denysdovhan/spaceship-prompt","description":":rocket::star: A Zsh prompt for Astronauts","fork":false,"url":"https://api.github.com/repos/denysdovhan/spaceship-prompt","forks_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/forks","keys_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/teams","hooks_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/hooks","issue_events_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues/events{/number}","events_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/events","assignees_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/assignees{/user}","branches_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/branches{/branch}","tags_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/tags","blobs_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/git/refs{/sha}","trees_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/statuses/{sha}","languages_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/languages","stargazers_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/stargazers","contributors_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/contributors","subscribers_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/subscribers","subscription_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/subscription","commits_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/commits{/sha}","git_commits_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/git/commits{/sha}","comments_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/comments{/number}","issue_comment_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues/comments{/number}","contents_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/contents/{+path}","compare_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/merges","archive_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/downloads","issues_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues{/number}","pulls_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls{/number}","milestones_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/milestones{/number}","notifications_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/labels{/name}","releases_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/releases{/id}","deployments_url":"https://api.github.com/repos/denysdovhan/spaceship-prompt/deployments","created_at":"2016-01-30T13:50:02Z","updated_at":"2018-12-01T15:23:45Z","pushed_at":"2018-12-01T15:40:04Z","git_url":"git://github.com/denysdovhan/spaceship-prompt.git","ssh_url":"git@github.com:denysdovhan/spaceship-prompt.git","clone_url":"https://github.com/denysdovhan/spaceship-prompt.git","svn_url":"https://github.com/denysdovhan/spaceship-prompt","homepage":"https://denysdovhan.com/spaceship-prompt/","size":11318,"stargazers_count":5785,"watchers_count":5785,"language":"Shell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":394,"mirror_url":null,"archived":false,"open_issues_count":69,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":394,"open_issues":69,"watchers":5785,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575"},"html":{"href":"https://github.com/denysdovhan/spaceship-prompt/pull/575"},"issue":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues/575"},"comments":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/issues/575/comments"},"review_comments":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575/comments"},"review_comment":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/pulls/575/commits"},"statuses":{"href":"https://api.github.com/repos/denysdovhan/spaceship-prompt/statuses/2026c60950f8e9cda4d8680a0ac78e3c5242b61f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"denysdovhan"}}