Open
Description
I think the permission prompting could be a little better and explanatory.
Edit: investigated all permission prompts...
- Once deno supports Wasm modules then we can get rid of needing to save and read the cache directory.
- Calling Deno.cwd() is necessary when the shell is created and cannot be lazily evaluated since it could change while the shell is executing, which would lead to very unexpected behaviour. This can be bypassed by providing an explicit
cwd
option. - Getting env access to all when the shell is initialized is necessary in order to get the environment state when the shell is spawned (can't be lazily evaluated, which is the same issue as the last point). This could be mitigated by supporting
clearEnv()
in the future.