From 168194aa74b0121cd57fa8edc58a9908fcaaf55b Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 31 Aug 2023 09:57:20 +0300 Subject: [PATCH] fix(dfm): shfmt paths, permissions --- local/bin/dfm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/local/bin/dfm b/local/bin/dfm index c296f56..14b9b16 100755 --- a/local/bin/dfm +++ b/local/bin/dfm @@ -250,10 +250,12 @@ function section_dotfiles shfmt) # Format shell scripts according to following rules. find "$DOTFILES" \ - -type f -perm +111 \ + -type f -executable \ -not -path '*/.git/*' \ -not -path '*dotbot*' \ - -not -path '*tmux*' \ + -not -path '*config/fzf*' \ + -not -path '*bin/fzf*' \ + -not -path '*tmux/plugins*' \ -not -name '*.pl' \ -not -name '*.py' \ -not -name '*.php' \