This commit is contained in:
Marc Beninca 2024-11-25 14:16:23 +01:00
parent 4b9f7df102
commit 0eaebdf401
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,4 @@
disable=1090,3043
disable=3043
enable=all
external-sources=true
shell=sh

View file

@ -63,6 +63,7 @@ main_source_directory() {
_sh_main_log "${module%.sh}"
module="${path}/${module}"
if [ "${module}" != "${ENV}" ]; then
# shellcheck disable=1090
. "${module}"
cmd="$(_sh_main_commands "${module}")"
if [ -n "${cmd}" ]; then

View file

@ -33,6 +33,7 @@ sh_shell_configure() {
local root="/usr/share/bash-completion"
local file="bash_completion"
local path="${root}/${file}"
# shellcheck disable=1090
[ -f "${path}" ] && . "${path}"
root="${root}/completions"
if [ -d "${root}" ]; then
@ -41,6 +42,7 @@ sh_shell_configure() {
"tar"
for file in "${@}"; do
path="${root}/${file}"
# shellcheck disable=1090
[ -f "${path}" ] && . "${path}"
done
fi