tabs to spaces and make utils load first

This commit is contained in:
2026-01-02 17:48:27 -06:00
parent 108561a002
commit 1adcaa15a4
15 changed files with 2617 additions and 2571 deletions

View File

@@ -3,13 +3,13 @@
base="$(dirname "$(readlink -f "$0")")"
inotifywait -m -r \
-e close_write \
-e moved_to \
--format '%w%f' \
"$base/lib" \
"$base/scripts" \
"$base/main.sh" | while read -r file; do
if [[ -f $file && $file =~ .sh ]]; then
shfmt --write --simplify "$file"
fi
-e close_write \
-e moved_to \
--format '%w%f' \
"${base}/lib" \
"${base}/scripts" \
"${base}/main.sh" | while read -r file; do
if [[ -f $file && $file =~ .sh ]]; then
shfmt --indent 4 --write --simplify "${file}"
fi
done