Issue description
When the current working directory does not exist, loading the shell prompt (e.g., by hitting <Enter>) causes the following error to appear:
direnv: error LoadConfig() Getwd failed: "getwd: no such file or directory"
Steps to reproduce
$ mkdir foo
$ cd foo
$ rmdir $(pwd)
direnv: error LoadConfig() Getwd failed: "getwd: no such file or directory"
Issue description
When the current working directory does not exist, loading the shell prompt (e.g., by hitting
<Enter>) causes the following error to appear:Steps to reproduce