{"action":"created","issue":{"url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme/issues/77","repository_url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme","labels_url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme/issues/77/comments","events_url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme/issues/77/events","html_url":"https://github.com/agnoster/agnoster-zsh-theme/issues/77","id":329680628,"node_id":"MDU6SXNzdWUzMjk2ODA2Mjg=","number":77,"title":"How can I show the last (1 or 2) path instead of full directory?","user":{"login":"dsoegijono","id":867840,"node_id":"MDQ6VXNlcjg2Nzg0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/867840?v=4","gravatar_id":"","url":"https://api.github.com/users/dsoegijono","html_url":"https://github.com/dsoegijono","followers_url":"https://api.github.com/users/dsoegijono/followers","following_url":"https://api.github.com/users/dsoegijono/following{/other_user}","gists_url":"https://api.github.com/users/dsoegijono/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoegijono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoegijono/subscriptions","organizations_url":"https://api.github.com/users/dsoegijono/orgs","repos_url":"https://api.github.com/users/dsoegijono/repos","events_url":"https://api.github.com/users/dsoegijono/events{/privacy}","received_events_url":"https://api.github.com/users/dsoegijono/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-06T01:40:35Z","updated_at":"2018-06-06T02:20:19Z","closed_at":"2018-06-06T02:20:19Z","author_association":"NONE","body":"Instead of `~/User/Documents/folder1/folder2`, I'd like to be able to just show `/folder2` or maybe `/folder1/folder2` so it doesn't take too much space. Is there a way for me to do this?\r\n\r\nI'm looking at this section:\r\n```\r\nprompt_dir() {\r\n  prompt_segment blue black '%~'\r\n}\r\n```\r\n\r\nbut I don't really understand what it means."},"comment":{"url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme/issues/comments/394918661","html_url":"https://github.com/agnoster/agnoster-zsh-theme/issues/77#issuecomment-394918661","issue_url":"https://api.github.com/repos/agnoster/agnoster-zsh-theme/issues/77","id":394918661,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDkxODY2MQ==","user":{"login":"dsoegijono","id":867840,"node_id":"MDQ6VXNlcjg2Nzg0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/867840?v=4","gravatar_id":"","url":"https://api.github.com/users/dsoegijono","html_url":"https://github.com/dsoegijono","followers_url":"https://api.github.com/users/dsoegijono/followers","following_url":"https://api.github.com/users/dsoegijono/following{/other_user}","gists_url":"https://api.github.com/users/dsoegijono/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoegijono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoegijono/subscriptions","organizations_url":"https://api.github.com/users/dsoegijono/orgs","repos_url":"https://api.github.com/users/dsoegijono/repos","events_url":"https://api.github.com/users/dsoegijono/events{/privacy}","received_events_url":"https://api.github.com/users/dsoegijono/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T02:20:19Z","updated_at":"2018-06-06T02:20:19Z","author_association":"NONE","body":"Thanks for the explanation @apjanke!"}}
{"actor":{"display_login":"dsoegijono"}}