diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-04-05 21:08:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-04-05 21:09:19 +1200 |
commit | 165c35c70b43349e882bd44be31c0837ab19729b (patch) | |
tree | 2a1f4218b78721c3262ac0c0b634629037f50ce6 /check/zsh.sh | |
parent | Remove mail/mailrc from ignored files (diff) | |
download | dotfiles-165c35c70b43349e882bd44be31c0837ab19729b.tar.gz dotfiles-165c35c70b43349e882bd44be31c0837ab19729b.zip |
More sh flexibility (check/lint scripts)
Diffstat (limited to 'check/zsh.sh')
-rw-r--r-- | check/zsh.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/check/zsh.sh b/check/zsh.sh new file mode 100644 index 00000000..50335d56 --- /dev/null +++ b/check/zsh.sh @@ -0,0 +1,5 @@ +for zsh in zsh/* zsh/zshrc.d/* ; do + [ -f "$zsh" ] || continue + zsh -n "$zsh" || exit +done +printf 'All zsh(1) scripts parsed successfully.\n' |