Tweaks & EOL's added

This commit is contained in:
Ismo Vuorinen
2023-03-27 09:51:41 +03:00
committed by Ismo Vuorinen
parent bb7ba3c919
commit fa3dc531a0
26 changed files with 70 additions and 79 deletions

View File

@@ -124,7 +124,7 @@ function section_dotfiles
shfmt)
# Format shell scripts according to following rules.
find "$DOTFILES" \
\( -name '*.sh' -or -name '*.zsh' -or -name 'x-*' -or -not '*.pl' \) \
\( -name '*.sh' -or -name '*.zsh' -or -name 'x-*' \) \
-exec shfmt -fn -l -w -i 2 -ci -sr -bn {} \;
msg_done "🎉 dotfiles have been formatted!"
;;
@@ -209,3 +209,4 @@ case "$1" in
tests) section_tests "$2" ;;
*) usage && exit 0 ;;
esac