1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

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

On Ubuntu, direnv is not installed in `/usr/local`.
This commit is contained in:
Dan Rose 2020-03-21 13:59:15 -05:00 committed by GitHub
parent 6dee9f99d3
commit fe5ec4fe31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
_direnv_hook() { _direnv_hook() {
trap -- '' SIGINT; trap -- '' SIGINT;
eval "$("/usr/local/bin/direnv" export zsh)"; eval "$(direnv export zsh)";
trap - SIGINT; trap - SIGINT;
} }
typeset -ag precmd_functions; typeset -ag precmd_functions;