mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
direnv: change direnv to not assume path (#8757)
On Ubuntu, direnv is not installed in `/usr/local`.
This commit is contained in:
1 parent
6dee9f99d3
commit
fe5ec4fe31
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user