wip: pre-split snapshot

This commit is contained in:
Prad Nukala committed 2026-10-14 13:31:37 -04:00
1 parent b4f74342ff
commit ab29365a3d
21 files changed
+321 -65

No files matched your search

+7 -3
View File
@@ -14,11 +14,15 @@ command = [
{ name = "Repos", run = '''
root=$(ghq root)
{
ghq list | awk -v r="$root" '{ print $0 "\t" r "/" $0 }'
# chezmoi's source is a github.com/prdlk/dotfiles checkout outside ghq root.
# Checkouts living outside ghq root, listed first so they win over a ghq
# clone of the same repo: chezmoi's source (github.com/prdlk/dotfiles) and
# the nvim config (github.com/prdlk/nvim).
c=$HOME/.local/share/chezmoi
[ -d "$c/.git" ] && printf 'github.com/prdlk/dotfiles\t%s\n' "$c"
} | mtime-sort --repo
n=$HOME/.config/nvim
[ -d "$n/.git" ] && printf 'github.com/prdlk/nvim\t%s\n' "$n"
ghq list | awk -v r="$root" '{ print $0 "\t" r "/" $0 }'
} | awk -F '\t' '!seen[$1]++' | mtime-sort --repo
''' },
{ name = "Vaults", run = '''
v=$HOME/Documents/Obsidian