aboutsummaryrefslogtreecommitdiff
path: root/check/zsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check/zsh.sh')
-rw-r--r--check/zsh.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/check/zsh.sh b/check/zsh.sh
index 50335d56..ce209584 100644
--- a/check/zsh.sh
+++ b/check/zsh.sh
@@ -1,5 +1,9 @@
-for zsh in zsh/* zsh/zshrc.d/* ; do
- [ -f "$zsh" ] || continue
- zsh -n "$zsh" || exit
+set \
+ zsh/zprofile \
+ zsh/zshrc.d/*.zsh \
+ zsh/zshrc
+for zsh ; do
+ zsh -n -- "$zsh" || exit
done
-printf 'All zsh(1) scripts parsed successfully.\n'
+sh -n zsh/profile.d/zsh.sh || exit
+printf 'Z shell dotfiles parsed successfully.\n'