aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-27 14:39:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-27 14:39:26 +1300
commitc67c95de9ebd18b7d2a6ac8d3bc81e4d497623b4 (patch)
tree81d9087c0ba9764b36fcc0e16fbaac2a4d15e6af /check
parentMerge branch 'port/bsd/openbsd' (diff)
downloaddotfiles-c67c95de9ebd18b7d2a6ac8d3bc81e4d497623b4.tar.gz
dotfiles-c67c95de9ebd18b7d2a6ac8d3bc81e4d497623b4.zip
Add zsh checking
Diffstat (limited to 'check')
-rwxr-xr-xcheck/zsh6
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'