{"action":"created","issue":{"url":"https://api.github.com/repos/cmderdev/cmder/issues/1688","repository_url":"https://api.github.com/repos/cmderdev/cmder","labels_url":"https://api.github.com/repos/cmderdev/cmder/issues/1688/labels{/name}","comments_url":"https://api.github.com/repos/cmderdev/cmder/issues/1688/comments","events_url":"https://api.github.com/repos/cmderdev/cmder/issues/1688/events","html_url":"https://github.com/cmderdev/cmder/issues/1688","id":301990819,"number":1688,"title":"Custom cmder prompt","user":{"login":"victormongi","id":5617746,"avatar_url":"https://avatars0.githubusercontent.com/u/5617746?v=4","gravatar_id":"","url":"https://api.github.com/users/victormongi","html_url":"https://github.com/victormongi","followers_url":"https://api.github.com/users/victormongi/followers","following_url":"https://api.github.com/users/victormongi/following{/other_user}","gists_url":"https://api.github.com/users/victormongi/gists{/gist_id}","starred_url":"https://api.github.com/users/victormongi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victormongi/subscriptions","organizations_url":"https://api.github.com/users/victormongi/orgs","repos_url":"https://api.github.com/users/victormongi/repos","events_url":"https://api.github.com/users/victormongi/events{/privacy}","received_events_url":"https://api.github.com/users/victormongi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-03T11:28:00Z","updated_at":"2018-03-06T09:03:50Z","closed_at":null,"author_association":"NONE","body":"How to make look like this?\r\n![image](https://user-images.githubusercontent.com/5617746/36933713-f1fb00b4-1f18-11e8-82ae-15a760e50759.png)\r\nThank you very much..."},"comment":{"url":"https://api.github.com/repos/cmderdev/cmder/issues/comments/370711530","html_url":"https://github.com/cmderdev/cmder/issues/1688#issuecomment-370711530","issue_url":"https://api.github.com/repos/cmderdev/cmder/issues/1688","id":370711530,"user":{"login":"victormongi","id":5617746,"avatar_url":"https://avatars0.githubusercontent.com/u/5617746?v=4","gravatar_id":"","url":"https://api.github.com/users/victormongi","html_url":"https://github.com/victormongi","followers_url":"https://api.github.com/users/victormongi/followers","following_url":"https://api.github.com/users/victormongi/following{/other_user}","gists_url":"https://api.github.com/users/victormongi/gists{/gist_id}","starred_url":"https://api.github.com/users/victormongi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victormongi/subscriptions","organizations_url":"https://api.github.com/users/victormongi/orgs","repos_url":"https://api.github.com/users/victormongi/repos","events_url":"https://api.github.com/users/victormongi/events{/privacy}","received_events_url":"https://api.github.com/users/victormongi/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T09:03:50Z","updated_at":"2018-03-06T09:03:50Z","author_association":"NONE","body":"This is my example code\r\n```\r\n    local cmder_prompt = \"\\x1b[1;32;1;40m{lamb} \\x1b[36m\"..dir..\" \\x1b[32;1;1m{git}{hg}{svn} \\x1b[0m\"\r\n    local lambda\r\n\r\n    -- char set • →\r\n    cmder_prompt = string.gsub(cmder_prompt, \"{cwd}\", cwd)\r\n    if env == nil then\r\n        lambda = \"→\"\r\n    else\r\n        lambda = \"(\"..env..\") →\"\r\n    end\r\n    clink.prompt.value = string.gsub(cmder_prompt, \"{lamb}\", lambda\r\n```\r\n![image](https://user-images.githubusercontent.com/5617746/37023273-52eab862-2160-11e8-81cc-b77a17fdf8ad.png)\r\n\r\n"}}
{"actor":{"display_login":"victormongi"}}