From d7cf0c7e8554553c6fec634e9f07271ee3d2502d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 18:37:17 -0600 Subject: fix(makefile): include top-level dotdirs in import selection Import now searches: - ~/.* (top-level dotdirs like .emacs.d, .ssh) - ~/.config/* - ~/.local/* Excludes .cache, .local, .config from top-level (they're handled separately). Co-Authored-By: Claude Opus 4.5 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c3e6cc7..ad792da 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,7 @@ import: @echo "Select directories to import (Tab to multi-select, Enter to confirm):" @echo "" @selections=$$({ \ + find $(HOME) -maxdepth 1 -mindepth 1 -name '.*' -type d 2>/dev/null | grep -v '\.cache\|\.local\|\.config' | sed 's|$(HOME)/||'; \ find $(HOME)/.config -maxdepth 1 -mindepth 1 -type d 2>/dev/null | sed 's|$(HOME)/||'; \ find $(HOME)/.local -maxdepth 2 -mindepth 1 -type d 2>/dev/null | sed 's|$(HOME)/||'; \ } | sort -u | fzf --multi --prompt="Import> " --header="Select configs to import into dotfiles/common/"); \ -- cgit v1.2.3