source
This commit is contained in:
parent
4b9f7df102
commit
0eaebdf401
3 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
disable=1090,3043
|
||||
disable=3043
|
||||
enable=all
|
||||
external-sources=true
|
||||
shell=sh
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue