diff options
-rw-r--r-- | check/sh.sh | 8 | ||||
-rw-r--r-- | lint/sh.sh | 6 |
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 @@ -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 -- {} + |