Unverified Commit 46525339 authored by Amir Hosseini's avatar Amir Hosseini Committed by GitHub

fix(direnv): use `hook` instead of `export` (#12000)

parent 8428442f
......@@ -3,7 +3,7 @@ command -v direnv &>/dev/null || return
_direnv_hook() {
trap -- '' SIGINT;
eval "$(direnv export zsh)";
eval "$(direnv hook zsh)";
trap - SIGINT;
}
typeset -ag precmd_functions;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment