{"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/2051","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/2051/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/2051/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/2051/events","html_url":"https://github.com/xonsh/xonsh/pull/2051","id":198502888,"number":2051,"title":"Dynamic cwd elision char","user":{"login":"jb-leger","id":24868098,"avatar_url":"https://avatars.githubusercontent.com/u/24868098?v=3","gravatar_id":"","url":"https://api.github.com/users/jb-leger","html_url":"https://github.com/jb-leger","followers_url":"https://api.github.com/users/jb-leger/followers","following_url":"https://api.github.com/users/jb-leger/following{/other_user}","gists_url":"https://api.github.com/users/jb-leger/gists{/gist_id}","starred_url":"https://api.github.com/users/jb-leger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jb-leger/subscriptions","organizations_url":"https://api.github.com/users/jb-leger/orgs","repos_url":"https://api.github.com/users/jb-leger/repos","events_url":"https://api.github.com/users/jb-leger/events{/privacy}","received_events_url":"https://api.github.com/users/jb-leger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-03T15:48:56Z","updated_at":"2017-01-03T20:04:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xonsh/xonsh/pulls/2051","html_url":"https://github.com/xonsh/xonsh/pull/2051","diff_url":"https://github.com/xonsh/xonsh/pull/2051.diff","patch_url":"https://github.com/xonsh/xonsh/pull/2051.patch"},"body":"By default the path as '/aaaaa/bbbbb/ccccc/ddddd' is shortened to obtain e.g.:\r\n'/aaa/bbb/ccc/ddddd' which can be confusion.\r\n\r\nThe first commit add a DYNAMIC_CWD_ELISION_CHAR env variable which default value\r\nempty string, keeping the same behavior described before.\r\n\r\nSetting DYNAMIC_CWD_ELISION_CHAR to '…', for the same path, we obtain\r\n'/aa…/bb…/cc…/ddddd'.\r\n\r\nThe second commit use the DYNAMIC_CWD_ELISION_CHAR when non empty for truncature. The default behavior is not changed."},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/270210252","html_url":"https://github.com/xonsh/xonsh/pull/2051#issuecomment-270210252","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/2051","id":270210252,"user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"created_at":"2017-01-03T20:04:39Z","updated_at":"2017-01-03T20:04:39Z","body":"@astronouth7303 yes we should :).  "}}
{"actor":{"display_login":"scopatz"}}