[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:
parent
6c7b29705e
commit
51e1d65153
1 changed files with 1 additions and 0 deletions
|
@ -368,6 +368,7 @@ stty -ixon # disable ctrl-s and ctrl-q
|
||||||
_update_colors "${BACKGROUND:-dark}"
|
_update_colors "${BACKGROUND:-dark}"
|
||||||
|
|
||||||
# Enable available completion helpers
|
# 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
|
while read -r d; do [ -d "$d" ] && for f in "$d"/*; do [ -f "$f" ] && . "$f"; done; done <<EOL
|
||||||
$LOCAL_PREFIX/etc/bash_completion.d
|
$LOCAL_PREFIX/etc/bash_completion.d
|
||||||
$XDG_CONFIG_HOME/bash/completion.d
|
$XDG_CONFIG_HOME/bash/completion.d
|
||||||
|
|
Loading…
Add table
Reference in a new issue