Don't run direnv if it does not exist at shell startup
This commit is contained in:
@@ -15,4 +15,4 @@ function if_emacs_zsh {
|
||||
environment_variable_exists INSIDE_EMACS && export PROMPT='$ '
|
||||
|
||||
# Enable direnv
|
||||
eval "$(direnv hook zsh)"
|
||||
command_exists direnv && eval "$(direnv hook zsh)"
|
||||
|
Reference in New Issue
Block a user