aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check/sh.sh8
-rw-r--r--lint/sh.sh6
2 files changed, 12 insertions, 2 deletions
diff --git a/check/sh.sh b/check/sh.sh
index 53d8c4b6..c5a86955 100644
--- a/check/sh.sh
+++ b/check/sh.sh
@@ -1,4 +1,10 @@
-for sh in sh/* sh/profile.d/* sh/shrc.d/* ; do
+for sh in \
+ sh/* sh/profile.d/* sh/shrc.d/* \
+ keychain/profile.d/* keychain/shrc.d/* \
+ ksh/shrc.d/* \
+ mpd/profile.d/* \
+ plenv/profile.d/* plenv/shrc.d/* \
+; do
[ -f "$sh" ] || continue
sh -n "$sh" || exit
done
diff --git a/lint/sh.sh b/lint/sh.sh
index ccf4cc7f..89704c0b 100644
--- a/lint/sh.sh
+++ b/lint/sh.sh
@@ -1,2 +1,6 @@
-find sh ksh/shrc.d mpd/profile.d \
+find sh \
+ keychain/profile.d keychain/shrc.d \
+ ksh/shrc.d \
+ mpd/profile.d \
+ plenv/profile.d plenv/shrc.d \
-type f -print -exec shellcheck -e SC1090 -s sh -- {} +