diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 22:56:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 22:56:20 +1300 |
commit | eda089748e6d512f0497452d6743a0e88c9649f4 (patch) | |
tree | 3fc49ab1060c92aa6bab8ae8e31768646c277d0f /lint/xinit.sh | |
parent | Revamp `lint-vim` target for consistency (diff) | |
download | dotfiles-eda089748e6d512f0497452d6743a0e88c9649f4.tar.gz dotfiles-eda089748e6d512f0497452d6743a0e88c9649f4.zip |
Bring Xinit check/lint scripts up to standard
This makes them more consistent with the work already done on the check
and lint scripts for the other targets.
Diffstat (limited to 'lint/xinit.sh')
-rw-r--r-- | lint/xinit.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lint/xinit.sh b/lint/xinit.sh index b5ff6937..b2718874 100644 --- a/lint/xinit.sh +++ b/lint/xinit.sh @@ -1 +1,5 @@ -find X -type f \( -name xinitrc -o -name '*.sh' \) -print -exec shellcheck -e SC1090 -s sh -- {} + +set \ + X/xinitrc \ + X/xinitrc.d/*.sh +shellcheck -e SC1090 -s sh -- "$@" +printf 'Xinit startup scripts linted successfully.\n' |