From 8dbb7379443112f1f146555a3f0bf4d07ba671d9 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 20 Jan 2024 16:16:26 +0100 Subject: [PATCH] remove blank lines in upgrade func --- dot_config/fish/private_functions/upgrade.fish.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_config/fish/private_functions/upgrade.fish.tmpl b/dot_config/fish/private_functions/upgrade.fish.tmpl index 5152ead..aba8a7a 100644 --- a/dot_config/fish/private_functions/upgrade.fish.tmpl +++ b/dot_config/fish/private_functions/upgrade.fish.tmpl @@ -6,8 +6,8 @@ function upgrade --wraps=topgrade if not bw unlock --check set -x BW_SESSION (bw unlock --raw) end - {{ if get . "sudo" }} + {{- if get . "sudo" }} sudo ls >/dev/null - {{ end }} + {{- end }} topgrade $argv end