From f496ac0b6f12ae52f8b17d933c2ef475f33f4995 Mon Sep 17 00:00:00 2001 From: aartoni Date: Sat, 15 Mar 2025 09:56:56 +0100 Subject: [PATCH] add shellcheck ignores --- .config/shell/aliasrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index e73802dc..fbe1ff20 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -10,12 +10,14 @@ # sudo not required for some system commands for command in mount umount sv pacman updatedb su shutdown poweroff reboot ; do + # shellcheck disable=SC2139 alias $command="sudo $command" done; unset command se() { local -r bindir=~sc/ s=("${bindir}"**/*(.)) + # shellcheck disable=SC2086 c="$(print -lnr ${s/$bindir/} | fzf)" [[ "${c}" ]] && "${EDITOR}" "$bindir$c" }