mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-17 13:54:17 +00:00
Tweaks & EOL's added
This commit is contained in:
committed by
Ismo Vuorinen
parent
bb7ba3c919
commit
fa3dc531a0
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user