Skip to content

direnv: referenced .envrc does not exist while executing direnv allow . #707

@goostleek

Description

@goostleek

Describe the bug

I'm not able to pass the quick-demo. After the direnv allow . step I got the following error:

direnv: referenced C:\Users\goost\direnv-test\.envrc does not exist

To Reproduce

  • Install latest version by scoop install direnv
  • Execute the direnv hook bash | clip command
  • Append the clipboard content to the ~/.bashrc
  • Execute the commands:
mkdir direnv-test && pushd direnv-test
echo export FOO=foo > .envrc
direnv allow .

Actual behaviour

direnv: referenced C:\Users\goost\direnv-test\.envrc does not exist

Expected behaviour
Direnv hook should load the created .envrc file from the current directory and execute it.

Environment

  • OS: Windows 10.0.19042 N/A Build 19042
  • Shell: bash
  • Direnv version 2.23.1

Additional context

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions