mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 10:19:51 +00:00
direnv: change direnv to not assume path (#8757)
On Ubuntu, direnv is not installed in `/usr/local`.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user