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