aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-04 10:41:20 -0500
committerCraig Jennings <c@cjennings.net>2026-07-04 10:41:20 -0500
commitd235c1fc4017e364d897f4c7f1112f529ab2f65f (patch)
treef3e7950635067007cab81467a3c3d4679243b740
parent9a2a77101156b6d997622655b7f47152e36682c4 (diff)
downloaddotemacs-d235c1fc4017e364d897f4c7f1112f529ab2f65f.tar.gz
dotemacs-d235c1fc4017e364d897f4c7f1112f529ab2f65f.zip
feat(ai-term): add ~/.dotfiles to the project picker
The picker collected projects from ~/.emacs.d and the children of ~/code and ~/projects, so ~/.dotfiles (a single-project root in $HOME) matched neither and never appeared. I added it to cj/ai-term-project-roots alongside ~/.emacs.d.
-rw-r--r--modules/ai-term.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ai-term.el b/modules/ai-term.el
index b67245fd..e0706abb 100644
--- a/modules/ai-term.el
+++ b/modules/ai-term.el
@@ -54,7 +54,8 @@ agent you run (aider, an open-source LLM TUI, etc.)."
:group 'ai-term)
(defcustom cj/ai-term-project-roots
- (list (expand-file-name "~/.emacs.d"))
+ (list (expand-file-name "~/.emacs.d")
+ (expand-file-name "~/.dotfiles"))
"Directories that are themselves AI-agent projects.
Each entry is included as a candidate when it exists and contains
.ai/protocols.org. Use this for single-project roots like ~/.emacs.d."