From febc62df36237c26a17e9cd3563d8f4adb6f8a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 3 Oct 2024 09:58:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(fish):=20upall=20function=20?= =?UTF-8?q?now=20searches=20for=20topgrade=20if=20missing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/functions/upall.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/fish/functions/upall.fish b/.config/fish/functions/upall.fish index 5011adfa..3bb0c65d 100644 --- a/.config/fish/functions/upall.fish +++ b/.config/fish/functions/upall.fish @@ -1,7 +1,7 @@ function upall --wraps=topgrade --description 'alias upall=topgrade' - if type -f topgrade - topgrade $argv + if type -f topgrade &>/dev/null + topgrade -k $argv else - echo "topgrade not found" + missing_package topgrade end end