+sc
This commit is contained in:
parent
0eaebdf401
commit
c68409c546
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ main_source_directory() {
|
||||||
_sh_main_log "${module%.sh}"
|
_sh_main_log "${module%.sh}"
|
||||||
module="${path}/${module}"
|
module="${path}/${module}"
|
||||||
if [ "${module}" != "${ENV}" ]; then
|
if [ "${module}" != "${ENV}" ]; then
|
||||||
# shellcheck disable=1090
|
# shellcheck disable=SC1090
|
||||||
. "${module}"
|
. "${module}"
|
||||||
cmd="$(_sh_main_commands "${module}")"
|
cmd="$(_sh_main_commands "${module}")"
|
||||||
if [ -n "${cmd}" ]; then
|
if [ -n "${cmd}" ]; then
|
||||||
|
|
|
@ -33,7 +33,7 @@ sh_shell_configure() {
|
||||||
local root="/usr/share/bash-completion"
|
local root="/usr/share/bash-completion"
|
||||||
local file="bash_completion"
|
local file="bash_completion"
|
||||||
local path="${root}/${file}"
|
local path="${root}/${file}"
|
||||||
# shellcheck disable=1090
|
# shellcheck disable=SC1090
|
||||||
[ -f "${path}" ] && . "${path}"
|
[ -f "${path}" ] && . "${path}"
|
||||||
root="${root}/completions"
|
root="${root}/completions"
|
||||||
if [ -d "${root}" ]; then
|
if [ -d "${root}" ]; then
|
||||||
|
@ -42,7 +42,7 @@ sh_shell_configure() {
|
||||||
"tar"
|
"tar"
|
||||||
for file in "${@}"; do
|
for file in "${@}"; do
|
||||||
path="${root}/${file}"
|
path="${root}/${file}"
|
||||||
# shellcheck disable=1090
|
# shellcheck disable=SC1090
|
||||||
[ -f "${path}" ] && . "${path}"
|
[ -f "${path}" ] && . "${path}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue