direnv: change direnv to not assume path (#8757)

On Ubuntu, direnv is not installed in `/usr/local`.
master
Dan Rose 6 years ago committed by GitHub
parent 6dee9f99d3
commit fe5ec4fe31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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;

Loading…
Cancel
Save