fix(ai): unset CLAUDECODE to allow nested sessions + add justl.el
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
;; Default backend: OpenRouter
|
;; Default backend: OpenRouter
|
||||||
(setq gptel-model 'google/gemini-2.5-flash
|
(setq gptel-model 'google/gemini-3.flash-preview
|
||||||
gptel-backend
|
gptel-backend
|
||||||
(gptel-make-openai "OpenRouter"
|
(gptel-make-openai "OpenRouter"
|
||||||
:host "openrouter.ai"
|
:host "openrouter.ai"
|
||||||
@@ -183,6 +183,8 @@
|
|||||||
(use-package! claude-code
|
(use-package! claude-code
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
|
;; Unset CLAUDECODE to allow running Claude Code inside Emacs sub-processes
|
||||||
|
(setenv "CLAUDECODE" nil)
|
||||||
(setq claude-code-program "ccr"
|
(setq claude-code-program "ccr"
|
||||||
claude-code-program-switches '("code" "--dangerously-skip-permissions"))
|
claude-code-program-switches '("code" "--dangerously-skip-permissions"))
|
||||||
|
|
||||||
|
|||||||
@@ -144,3 +144,8 @@
|
|||||||
(setq lsp-clients-clangd-executable "clangd")
|
(setq lsp-clients-clangd-executable "clangd")
|
||||||
(setq lsp-clients--clangd-default-executable "clangd")
|
(setq lsp-clients--clangd-default-executable "clangd")
|
||||||
(setq lsp-clangd-binary-path "clangd"))
|
(setq lsp-clangd-binary-path "clangd"))
|
||||||
|
|
||||||
|
;; Justfile mode (psibi/justl.el)
|
||||||
|
(use-package! justl
|
||||||
|
:config
|
||||||
|
(map! :n "e" 'justl-exec-recipe))
|
||||||
|
|||||||
@@ -64,6 +64,9 @@
|
|||||||
("integration" "integration/*")
|
("integration" "integration/*")
|
||||||
(:exclude ".dir-locals.el" "*-tests.el"))))
|
(:exclude ".dir-locals.el" "*-tests.el"))))
|
||||||
|
|
||||||
|
;; Justfile mode
|
||||||
|
(package! justl :recipe (:host github :repo "psibi/justl.el"))
|
||||||
|
|
||||||
;; Usage metrics and key tracking
|
;; Usage metrics and key tracking
|
||||||
(package! keyfreq)
|
(package! keyfreq)
|
||||||
(package! command-log-mode)
|
(package! command-log-mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user