diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 22:06:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 22:06:53 -0400 |
| commit | f5609ec3aa591e93938992e329c4732332288517 (patch) | |
| tree | c7ffb7752455ec6aaacdab03c058a0dce6e8c913 /claude-templates | |
| parent | 9b34c189cedce97c96399663f6b394975513bb74 (diff) | |
| download | rulesets-f5609ec3aa591e93938992e329c4732332288517.tar.gz rulesets-f5609ec3aa591e93938992e329c4732332288517.zip | |
feat(ai): discover ~/.dotfiles in the launcher picker
build_candidates() only scanned ~/.emacs.d, ~/code/*, and ~/projects/*, so ~/.dotfiles (a bootstrapped AI project living directly in $HOME) never showed in the launcher picker. I added it as an explicit candidate next to ~/.emacs.d. The maybe_add_candidate guard keys off .ai/protocols.org, so the line stays inert where ~/.dotfiles isn't bootstrapped.
Diffstat (limited to 'claude-templates')
| -rwxr-xr-x | claude-templates/bin/ai | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/claude-templates/bin/ai b/claude-templates/bin/ai index 5a806ec..994dc1f 100755 --- a/claude-templates/bin/ai +++ b/claude-templates/bin/ai @@ -87,6 +87,7 @@ maybe_add_candidate() { build_candidates() { candidates=() maybe_add_candidate "$HOME/.emacs.d" + maybe_add_candidate "$HOME/.dotfiles" if [ -d "$HOME/code" ]; then while IFS= read -r d; do maybe_add_candidate "$d" |
