From fd2a4778962ac9ff26df251d52d29ce4a7cdc7d9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 31 Oct 2017 22:38:00 +1300 Subject: Apply revisions to `check-zsh` target as well I forgot about this one. --- check/zsh.sh | 12 ++++++++---- 1 file 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' -- cgit v1.2.3