diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-26 18:37:17 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-26 18:37:17 -0600 |
| commit | ed45c7caebb06e9e4166d056e3c7d01464703cd4 (patch) | |
| tree | ad1558910023ae0519cbe666e90f56f6e560e470 | |
| parent | b5a7afd46a401421431049b4e1606598c81f0a05 (diff) | |
| download | archsetup-ed45c7caebb06e9e4166d056e3c7d01464703cd4.tar.gz archsetup-ed45c7caebb06e9e4166d056e3c7d01464703cd4.zip | |
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 <noreply@anthropic.com>
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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/"); \ |
