[bash] disable shellcheck warning for bash completion files

There is no need to run shellcheck for each completion file when
checking the bash profile.
This commit is contained in:
Fernando Schauenburg 2020-12-03 18:34:27 +01:00
parent 6c7b29705e
commit 51e1d65153

View file

@ -368,6 +368,7 @@ stty -ixon # disable ctrl-s and ctrl-q
_update_colors "${BACKGROUND:-dark}"
# Enable available completion helpers
# shellcheck disable=SC1090 # no need to shellcheck bash completion files
while read -r d; do [ -d "$d" ] && for f in "$d"/*; do [ -f "$f" ] && . "$f"; done; done <<EOL
$LOCAL_PREFIX/etc/bash_completion.d
$XDG_CONFIG_HOME/bash/completion.d