From c79d6cd609296b377faa8e71836d2318c890fb8e Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Wed, 27 Jan 2021 22:51:43 +0200 Subject: [PATCH] vendor: Add init.d directory to clean_files.txt Also fix and lint the directory. This is our code, and as such, should be linted. --- clean_files.txt | 3 +++ vendor/init.d/preexec.bash | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/clean_files.txt b/clean_files.txt index e030ea4d..3b24f975 100644 --- a/clean_files.txt +++ b/clean_files.txt @@ -70,3 +70,6 @@ completion/available/vuejs.completion.bash aliases/available/dnf.aliases.bash aliases/available/vim.aliases.bash aliases/available/git.aliases.bash + +# vendor init files +vendor/init.d diff --git a/vendor/init.d/preexec.bash b/vendor/init.d/preexec.bash index f8140afc..296b478a 100644 --- a/vendor/init.d/preexec.bash +++ b/vendor/init.d/preexec.bash @@ -1 +1,3 @@ -source ${BASH_IT}/vendor/github.com/rcaloras/bash-preexec/bash-preexec.sh +# shellcheck shell=bash +# shellcheck disable=1090 +source "${BASH_IT}"/vendor/github.com/rcaloras/bash-preexec/bash-preexec.sh