diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-27 14:39:26 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-27 14:39:26 +1300 |
commit | c67c95de9ebd18b7d2a6ac8d3bc81e4d497623b4 (patch) | |
tree | 81d9087c0ba9764b36fcc0e16fbaac2a4d15e6af /check/zsh | |
parent | Merge branch 'port/bsd/openbsd' (diff) | |
download | dotfiles-c67c95de9ebd18b7d2a6ac8d3bc81e4d497623b4.tar.gz dotfiles-c67c95de9ebd18b7d2a6ac8d3bc81e4d497623b4.zip |
Add zsh checking
Diffstat (limited to 'check/zsh')
-rwxr-xr-x | check/zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/check/zsh b/check/zsh new file mode 100755 index 00000000..39a6c1e9 --- /dev/null +++ b/check/zsh @@ -0,0 +1,6 @@ +#!/bin/sh +for zsh in zsh/* zsh/zshrc.d/* ; do + [ -f "$zsh" ] || continue + zsh -n "$zsh" || exit +done +printf 'All zsh(1) scripts parsed successfully.\n' |