{"action":"created","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/16721","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/16721/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/16721/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/16721/events","html_url":"https://github.com/chrmarti/testissues/issues/16721","id":308968449,"number":16721,"title":"Setting terminal path via `terminal.integrated.env.osx` has paths backwards","user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[{"id":750352312,"url":"https://api.github.com/repos/chrmarti/testissues/labels/*confirmation-needed","name":"*confirmation-needed","color":"c5def5","default":false},{"id":627669962,"url":"https://api.github.com/repos/chrmarti/testissues/labels/integrated-terminal","name":"integrated-terminal","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T13:27:24Z","updated_at":"2018-03-27T13:27:43Z","closed_at":null,"author_association":"NONE","body":"I set this:\r\n\r\n```js\r\n\t\"terminal.integrated.env.osx\": {\r\n\t\t\"PATH\": \"/fake/path:${env:PATH}\"\r\n\t}\r\n```\r\n\r\nThen in the terminal I ran `echo $PATH` and it output this:\r\n\r\n```text\r\ndantup-macbookpro:flutter_hello_world dantup$ echo $PATH\r\n/usr/local/git/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:~/Dev/dart-sdk/latest/bin:/fake/path\r\n```\r\n\r\nI put my new path on the front, yet it ended up on the end. Note: the existing paths are set in `/etc/path` and `/etc/path.d` and not added in a terminal script running at startup so I don't think it's just that the other ones are being prepended (and it seems unlikely path would have 0 items in it to start, and I'd expect to see a trailing colon if that was the case)."},"comment":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/comments/376524469","html_url":"https://github.com/chrmarti/testissues/issues/16721#issuecomment-376524469","issue_url":"https://api.github.com/repos/chrmarti/testissues/issues/16721","id":376524469,"user":{"login":"vscodetestbot[bot]","id":29067401,"avatar_url":"https://avatars2.githubusercontent.com/in/2665?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodetestbot%5Bbot%5D","html_url":"https://github.com/apps/vscodetestbot","followers_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-03-27T13:27:43Z","updated_at":"2018-03-27T13:27:43Z","author_association":"NONE","body":"Our issue tracking requires confirmation by a second community member. Anyone but OP can do so by adding a comment `/confirm`. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"}}
{"actor":{"display_login":"vscodetestbot"}}