From 8627144cbe17f211ee1a95b40287836c5fd20249 Mon Sep 17 00:00:00 2001 From: Wessel Tip Date: Thu, 18 Sep 2025 13:25:37 +0200 Subject: [PATCH] fix(fish): Don't show error of missing onefetch --- fish/config.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fish/config.fish b/fish/config.fish index da1ca62..82227fc 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -143,7 +143,9 @@ function check_directory_for_new_repository set current_repository (git rev-parse --show-toplevel 2> /dev/null) if [ "$current_repository" ] && \ [ "$current_repository" != "$last_repository" ] - onefetch + if type -q onefetch + onefetch + end end set -gx last_repository $current_repository end