diff --git a/plugins/direnv/direnv.plugin.zsh b/plugins/direnv/direnv.plugin.zsh index 204f46d72..d36c4ae5e 100644 --- a/plugins/direnv/direnv.plugin.zsh +++ b/plugins/direnv/direnv.plugin.zsh @@ -1,6 +1,6 @@ _direnv_hook() { trap -- '' SIGINT; - eval "$("/usr/local/bin/direnv" export zsh)"; + eval "$(direnv export zsh)"; trap - SIGINT; } typeset -ag precmd_functions;