@@ -1,3 +1,6 @@
+# Don't continue if direnv is not found
+command -v direnv &>/dev/null || return
+
_direnv_hook() {
trap -- '' SIGINT;
eval "$(direnv export zsh)";