plugins: Fix shellcheck warnings on already linted files
parent
9ea60020ae
commit
c6f6d8c27a
|
|
@ -70,7 +70,7 @@ function alias_completion {
|
||||||
local compl_func="${new_completion/#* -F /}"
|
local compl_func="${new_completion/#* -F /}"
|
||||||
compl_func="${compl_func%% *}"
|
compl_func="${compl_func%% *}"
|
||||||
# avoid recursive call loops by ignoring our own functions
|
# avoid recursive call loops by ignoring our own functions
|
||||||
if [[ "${compl_func#_$namespace::}" == "$compl_func" ]]; then
|
if [[ "${compl_func#_"$namespace"::}" == "$compl_func" ]]; then
|
||||||
local compl_wrapper="_${namespace}::${alias_name}"
|
local compl_wrapper="_${namespace}::${alias_name}"
|
||||||
echo "function $compl_wrapper {
|
echo "function $compl_wrapper {
|
||||||
local compl_word=\$2
|
local compl_word=\$2
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ function git-changelog() {
|
||||||
# shellcheck disable=SC2162
|
# shellcheck disable=SC2162
|
||||||
git log "$1" --no-merges --format="%cd" --date=short | sort -u -r | while read DATE; do
|
git log "$1" --no-merges --format="%cd" --date=short | sort -u -r | while read DATE; do
|
||||||
echo
|
echo
|
||||||
echo [$DATE]
|
echo "[$DATE]"
|
||||||
git log --no-merges --format=" * (%h) %s by %an <%ae>" --since="$DATE 00:00:00" --until="$DATE 24:00:00"
|
git log --no-merges --format=" * (%h) %s by %an <%ae>" --since="$DATE 00:00:00" --until="$DATE 24:00:00"
|
||||||
NEXT=$DATE
|
NEXT=$DATE
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue