diff options
Diffstat (limited to 'modules/by-name/di/direnv/module.nix')
| -rw-r--r-- | modules/by-name/di/direnv/module.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/by-name/di/direnv/module.nix b/modules/by-name/di/direnv/module.nix index b35d785d..325eaa63 100644 --- a/modules/by-name/di/direnv/module.nix +++ b/modules/by-name/di/direnv/module.nix @@ -55,8 +55,7 @@ in { function _direnv_hook --on-variable PWD --on-event fish_postexec if not set --query IN_DIRENV_SANDBOX; and set --query SHOULD_SANDBOX_DIRENV; - and ${direnvPkg} status | grep 'Found RC path' --quiet; - and ${direnvPkg} status | grep 'No .envrc or .env loaded' --quiet + and ${direnvPkg} status | grep 'Found RC path' --quiet # We found a RC path, but no RC file is loaded. So we can start our shell and # load it. |
