mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
direnv: change direnv to not assume path (#8757)
On Ubuntu, direnv is not installed in `/usr/local`.
This commit is contained in:
parent
6dee9f99d3
commit
fe5ec4fe31
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue