mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
wip: pre-split snapshot
This commit is contained in:
1 parent
b4f74342ff
commit
ab29365a3d
21 files changed
+321
-65
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user