add shellcheck ignores

This commit is contained in:
aartoni 2025-03-15 09:56:56 +01:00
parent cacfc704f2
commit f496ac0b6f

View File

@ -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"
}