diff --git a/zshrc b/zshrc index 0cebe11525..2c1ee99d91 100644 --- a/zshrc +++ b/zshrc @@ -70,3 +70,6 @@ export EDITOR=code # Set ipdb as the default Python debugger export PYTHONBREAKPOINT=ipdb.set_trace + +# Hook direnv but only if direnv is installed +if (( $+commands[direnv] )); then eval "$(direnv hook zsh)"; fi