diff options
Diffstat (limited to 'check/sh.sh')
-rw-r--r-- | check/sh.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/check/sh.sh b/check/sh.sh new file mode 100644 index 00000000..c5a86955 --- /dev/null +++ b/check/sh.sh @@ -0,0 +1,11 @@ +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 +printf 'All sh(1) scripts parsed successfully.\n' |