You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I just installed direnv for the first time, to try it out.
When cd-ing into a folder with an .envrc, direnv claims the .envrc file does not exist. This is somewhat ironic, as that error only is only shown when cd-ing into folders that does contain an .envrc. Also, the contents of .envrc do not get applied.
To wit:
> cd direnv-test/
direnv: referenced -u /private/tmp/direnv-test/.envrc does not exist
> cat /private/tmp/direnv-test/.envrc
export FOO=foo
> ls -l /private/tmp/direnv-test/.envrc
-rw-r--r-- 1 userx staff 15 Apr 28 18:18 /private/tmp/direnv-test/.envrc
> echo $FOO
>
To Reproduce
# install direnv via homebrew or a build from https://github.com/direnv/direnv/releases (direnv.darwin-arm64)
echo 'direnv hook fish | source' >> $HOME/.config/fish/config.fish
# restart fish
mkdir direnv-test
echo 'export FOO=foo' > direnv-test/.envrc
cd direnv-test
# direnv: referenced -u /private/tmp/direnv-test/.envrc does not exist
echo $FOO
Expected behavior
No error to be shown, and the contents of .envrc being applied.
Environment
OS: MacOS 14.4.1 (23E224), Apple M2
Shell: fish, version 3.7.1
Direnv version: I tried 2.34.0, 2.30.0, and a couple of version in-between
Additional context
> tail -1 $HOME/.config/fish/config.fish
direnv hook fish | source
This seems to be different from #1079, where the issue creator states the problem does not exist with versions prior to 2.32.2.
The text was updated successfully, but these errors were encountered:
Describe the bug
I just installed direnv for the first time, to try it out.
When cd-ing into a folder with an .envrc, direnv claims the .envrc file does not exist. This is somewhat ironic, as that error only is only shown when cd-ing into folders that does contain an .envrc. Also, the contents of .envrc do not get applied.
To wit:
To Reproduce
Expected behavior
No error to be shown, and the contents of .envrc being applied.
Environment
Additional context
This seems to be different from #1079, where the issue creator states the problem does not exist with versions prior to 2.32.2.
The text was updated successfully, but these errors were encountered: