From 360b67ff756ef42e31e36a0fc1bf6a086382575e Mon Sep 17 00:00:00 2001 From: Mica White Date: Mon, 14 Sep 2026 12:43:41 -0400 Subject: Check for devenv before adding the hook --- .config/fish/config.fish | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index c204c53..1821755 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,6 +1,10 @@ if status is-interactive - zoxide init fish | source - devenv hook fish | source + if type -f zoxide + zoxide init fish | source + end + if type -f devenv + devenv hook fish | source + end function mkcd --description "Make a directory and cd into it" mkdir -p $argv[1] -- cgit v1.3.1