From 600acf5cdb98122785a693dd863c99a094e4e3c0 Mon Sep 17 00:00:00 2001 From: Onur Ozuduru Date: Mon, 4 Mar 2024 22:11:12 +0200 Subject: [PATCH] Fix init --- sources/init.sh | 2 +- sources/main.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/init.sh b/sources/init.sh index 61efa53..d13cb14 100644 --- a/sources/init.sh +++ b/sources/init.sh @@ -9,7 +9,7 @@ init_from_dot_dir() exit 1 fi - local all_dot_files=$(find "${DOT_DIR_PATH}" -type f -printf '%P\n') + local all_dot_files=$(find "${DOT_DIR_PATH}" -type f ! -path "*.*/*" \( ! -iname ".*" \) -printf '%P\n') for dot_file in ${all_dot_files} do diff --git a/sources/main.sh b/sources/main.sh index e52b10d..303d675 100644 --- a/sources/main.sh +++ b/sources/main.sh @@ -96,4 +96,3 @@ if [[ "${MODE}" == "${MODES[-a]}" ]]; then else ${MODE} fi -