{"action":"created","issue":{"url":"https://api.github.com/repos/lihaoyi/Ammonite/issues/447","repository_url":"https://api.github.com/repos/lihaoyi/Ammonite","labels_url":"https://api.github.com/repos/lihaoyi/Ammonite/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/lihaoyi/Ammonite/issues/447/comments","events_url":"https://api.github.com/repos/lihaoyi/Ammonite/issues/447/events","html_url":"https://github.com/lihaoyi/Ammonite/issues/447","id":173548517,"number":447,"title":"Resolve `$file` and `$exec` imports relative to `wd` and not `cwd`","user":{"login":"yakticus","id":1957660,"avatar_url":"https://avatars.githubusercontent.com/u/1957660?v=3","gravatar_id":"","url":"https://api.github.com/users/yakticus","html_url":"https://github.com/yakticus","followers_url":"https://api.github.com/users/yakticus/followers","following_url":"https://api.github.com/users/yakticus/following{/other_user}","gists_url":"https://api.github.com/users/yakticus/gists{/gist_id}","starred_url":"https://api.github.com/users/yakticus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakticus/subscriptions","organizations_url":"https://api.github.com/users/yakticus/orgs","repos_url":"https://api.github.com/users/yakticus/repos","events_url":"https://api.github.com/users/yakticus/events{/privacy}","received_events_url":"https://api.github.com/users/yakticus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-26T21:36:52Z","updated_at":"2016-08-26T21:38:58Z","closed_at":null,"body":"the title pretty much says it all."},"comment":{"url":"https://api.github.com/repos/lihaoyi/Ammonite/issues/comments/242858449","html_url":"https://github.com/lihaoyi/Ammonite/issues/447#issuecomment-242858449","issue_url":"https://api.github.com/repos/lihaoyi/Ammonite/issues/447","id":242858449,"user":{"login":"yakticus","id":1957660,"avatar_url":"https://avatars.githubusercontent.com/u/1957660?v=3","gravatar_id":"","url":"https://api.github.com/users/yakticus","html_url":"https://github.com/yakticus","followers_url":"https://api.github.com/users/yakticus/followers","following_url":"https://api.github.com/users/yakticus/following{/other_user}","gists_url":"https://api.github.com/users/yakticus/gists{/gist_id}","starred_url":"https://api.github.com/users/yakticus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakticus/subscriptions","organizations_url":"https://api.github.com/users/yakticus/orgs","repos_url":"https://api.github.com/users/yakticus/repos","events_url":"https://api.github.com/users/yakticus/events{/privacy}","received_events_url":"https://api.github.com/users/yakticus/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T21:38:58Z","updated_at":"2016-08-26T21:38:58Z","body":"some comments from @lihaoyi (not all addressed in this issue, but good context):\r\n```\r\ncurrently the wd variable is defined in the ammonite-shell package, which is a third-party thing, though there is also a wd inside ammRuntime Interpreter.scala that is used to resolve import $file.* calls\r\n\r\nthe correct thing to do would be to expose the Interpreter's `wd` as `interp.wd: Ref[Path]` in the REPL and make it settable, and then have the ammonite-shell cd! function update it\r\n```"}}
{"actor":{"display_login":"yakticus"}}