From 7b90929129fe7e40cf85189c3d219acbdfb17fe4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 8 May 2026 16:02:42 +0200 Subject: [PATCH] Don't find hidden files or directories --- bin/omarchy-menu-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-menu-file b/bin/omarchy-menu-file index 986a7dd8..8cdf4bb0 100755 --- a/bin/omarchy-menu-file +++ b/bin/omarchy-menu-file @@ -30,7 +30,7 @@ for path in "${paths[@]}"; do [[ -e $path ]] || { echo "Path not found: $path" >&2; exit 1; } done -find_args=("${paths[@]}" "(" -type d -name ".*" ! -name "." -prune ")" -o -type f "(") +find_args=("${paths[@]}" "(" -type d -name ".*" ! -name "." -prune ")" -o -type f ! -name ".*" "(") first_format=true for format in "${formats[@]}"; do if [[ $first_format == "true" ]]; then