diff --git a/executable_dot_zshrc b/executable_dot_zshrc index 5cca1d3..622f5f0 100644 --- a/executable_dot_zshrc +++ b/executable_dot_zshrc @@ -81,7 +81,9 @@ unset __conda_setup # <<< conda initialize <<< # >>> direnv initalize >>> -eval "$(direnv hook zsh)" +if [ $(command -v direnv) ]; then + eval "$(direnv hook zsh)" +fi # <<< direnv initalize <<< # Tell Antigen that you're done