Skip to content

Direnv 2.37.0 hides blocked .envrc warning #1463

@stinovlas

Description

@stinovlas

Describe the bug

direnv 2.37.0 does not warn me about changed or newly created .envrc, it's just completely silent. The warning shows with direnv 2.36.0 (although without a newline character, which is ugly). The other functionality (auto loading .envrc, CLI, ...) works as expected.

To Reproduce

  • install direnv 2.37.0 in a fish shell
  • create .envrc file

Expected behavior

direnv should show a warning:

direnv: error /.../.envrc is blocked. Run `direnv allow` to approve its content

Environment

  • OS: ArchLinux
  • Shell: fish, version 4.0.2
  • Direnv version 2.37.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions