feat(ai): centralize agent-shell data in emacs directory

This commit is contained in:
kj
2026-09-09 13:03:44 -03:00
parent 2e51bbb969
commit 3d36596bc0

View File

@@ -229,6 +229,13 @@ content do not break gptel-magit."
(setq agent-shell-transcript-file-path-function nil) (setq agent-shell-transcript-file-path-function nil)
(setq shell-maker-prompt-before-killing-buffer 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 ;; 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) ;; de agent-shell (evita autocompletar texto del buffer o historial de prompts previos)
(add-hook 'agent-shell-mode-hook (add-hook 'agent-shell-mode-hook