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 -