aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-12 23:53:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-12 23:56:20 +1200
commitdb35c3f52eb0df87b4b61f17b15942ba0d94c122 (patch)
treed10d5ef8870416b0cc32335d6874092468f69127
parentMove systemd editor setting to after visual (diff)
downloaddotfiles-db35c3f52eb0df87b4b61f17b15942ba0d94c122.tar.gz
dotfiles-db35c3f52eb0df87b4b61f17b15942ba0d94c122.zip
Check shrc.d and profile.d dirs for other configs
-rw-r--r--check/sh.sh4
-rw-r--r--lint/sh.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/check/sh.sh b/check/sh.sh
index 4e816337..c3ff856a 100644
--- a/check/sh.sh
+++ b/check/sh.sh
@@ -1,9 +1,9 @@
set \
sh/profile \
- sh/profile.d/*.sh \
sh/shinit \
sh/shrc \
- sh/shrc.d/*.sh
+ */profile.d/*.sh \
+ */shrc.d/*.sh
for sh do
sh -n -- "$sh" || exit
done
diff --git a/lint/sh.sh b/lint/sh.sh
index b0d28e5d..5884a1ed 100644
--- a/lint/sh.sh
+++ b/lint/sh.sh
@@ -1,7 +1,7 @@
set \
sh/profile \
- sh/profile.d/*.sh \
sh/shinit \
sh/shrc \
- sh/shrc.d/*.sh
+ */profile.d/*.sh \
+ */shrc.d/*.sh
shellcheck -e SC1090 -s sh -- "$@" || exit