From 3d36596bc0c1a396b719d067aa2b7daf31267606 Mon Sep 17 00:00:00 2001 From: kj Date: Wed, 9 Sep 2026 13:03:44 -0300 Subject: [PATCH] feat(ai): centralize agent-shell data in emacs directory --- configs/init-ai.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/init-ai.el b/configs/init-ai.el index 646b407..3037de7 100644 --- a/configs/init-ai.el +++ b/configs/init-ai.el @@ -229,6 +229,13 @@ content do not break gptel-magit." (setq agent-shell-transcript-file-path-function nil) (setq shell-maker-prompt-before-killing-buffer nil) + ;; Centralizar datos de agent-shell (screenshots, transcripts, worktrees) + ;; para que no cree .agent-shell/ dentro de los proyectos + (setq agent-shell-dot-subdir-function + (lambda (subdir) + (expand-file-name subdir + (expand-file-name "agent-shell/" user-emacs-directory)))) + ;; Quitar cape-dabbrev, cape-history, comint-completion-at-point y el centinela t ;; de agent-shell (evita autocompletar texto del buffer o historial de prompts previos) (add-hook 'agent-shell-mode-hook