From 51e1d65153390b46b9563a9ba54538d2a4237a1e Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 3 Dec 2020 18:34:27 +0100 Subject: [PATCH] [bash] disable shellcheck warning for bash completion files There is no need to run shellcheck for each completion file when checking the bash profile. --- roles/bash/files/profile | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/bash/files/profile b/roles/bash/files/profile index 619cb62..9ae1886 100644 --- a/roles/bash/files/profile +++ b/roles/bash/files/profile @@ -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 <