From 8a9f273734cad9d7ea1d9be2bc110e8cd10fe5f2 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 8 Sep 2025 20:16:25 +0200 Subject: [PATCH] Add Flutter location to the path only if the SDK is installed --- conf.d/flutter.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf.d/flutter.fish b/conf.d/flutter.fish index 822c545..22814c0 100644 --- a/conf.d/flutter.fish +++ b/conf.d/flutter.fish @@ -1 +1,3 @@ -fish_add_path $HOME/.local/flutter/bin +if test -d $HOME/.local/flutter/bin + fish_add_path $HOME/.local/flutter/bin +end