shell/*: fix most shellcheck errors

This commit is contained in:
Felix Buehler 2021-12-06 12:41:02 +01:00
parent ced309e5a4
commit 0d8a6f0c01
9 changed files with 67 additions and 53 deletions

View file

@ -2,10 +2,12 @@
# arch
if [ "${BASH_VERSION}" ] && [ -r /usr/share/doc/pkgfile/command-not-found.bash ]; then
# shellcheck source=/dev/null
. /usr/share/doc/pkgfile/command-not-found.bash
fi
if [ "${ZSH_VERSION}" ] && [ -r /usr/share/doc/pkgfile/command-not-found.zsh ]; then
# shellcheck source=/dev/null
. /usr/share/doc/pkgfile/command-not-found.zsh
fi