From e1a8f2ca8b6f8b5f3f684c2cc491f88f33116665 Mon Sep 17 00:00:00 2001 From: Bas van den Wollenberg Date: Tue, 9 Dec 2025 18:02:19 +0100 Subject: [PATCH] update fastboot command --- fish/.config/fish/functions/fastboot.fish | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fish/.config/fish/functions/fastboot.fish b/fish/.config/fish/functions/fastboot.fish index e82faf7..34f82d6 100644 --- a/fish/.config/fish/functions/fastboot.fish +++ b/fish/.config/fish/functions/fastboot.fish @@ -1,3 +1,9 @@ function fastboot --wraps=fastboot.exe --description 'alias fastboot=fastboot.exe' - fastboot.exe $argv + if command -v fastboot >/dev/null + command fastboot $argv + else if command -v fastboot.exe >/dev/null + fastboot.exe $argv + else + echo "fastboot not found" + end end -- 2.51.2