From 3452e2556ecb920f5535f47f30e601cce89b351a Mon Sep 17 00:00:00 2001 From: Travis Herbranson Date: Sun, 3 May 2026 10:15:02 -0400 Subject: [PATCH] =?UTF-8?q?Make=20direnv=20conditional=20=E2=80=94=20only?= =?UTF-8?q?=20load=20if=20installed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot_config/fish/config.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index 270f737..1d13df8 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -10,7 +10,9 @@ if status is-interactive zoxide init fish | source # ── direnv ────────────────────────────────────────────── - direnv hook fish | source + if type -q direnv + direnv hook fish | source + end # ── fzf ───────────────────────────────────────────────── # fzf.fish plugin handles Ctrl+R (history) and Ctrl+F (files)