From cd0071297b904028024fcd7a7035516d7d2942de Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:47:08 +0100 Subject: style: silence SC1003 in bootstrap.sh efibootmgr hint; shfmt wifi-status.sh - bootstrap.sh: the trailing backslash in the efibootmgr example is literal text shown to the user, not shell line continuation. Disable SC1003 with an inline directive and switch back to single quotes so the backslash renders as-is. - wifi-status.sh: reformat with shfmt -i 2 -ci -s. --- bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index dbc49a9..65a9343 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -91,7 +91,8 @@ if [ -d /sys/firmware/efi ]; then warn 'no Arch Linux EFI boot entry found' warn 'after first kernel install, run: sudo mkinitcpio -P' warn 'then register the UKI with efibootmgr, for example:' - warn " sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \\" + # shellcheck disable=SC1003 # backslash is literal text shown to the user + warn ' sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \' warn " --label 'Arch UKI' --loader '\\EFI\\Linux\\arch-linux.efi'" fi fi -- cgit v1.2.3-70-g09d2