feat(init-ai): alias opencode and pi commands at init

This commit is contained in:
kj
2026-10-21 14:53:04 -03:00
parent ac205f4e9c
commit 7be8455bcf
+3 -2
View File
@@ -235,8 +235,9 @@ content do not break gptel-magit."
(use-package acp)
(use-package agent-shell
:after (shell-maker acp)
:hook (elpaca-after-init . (lambda () (defalias 'opencode #'agent-shell-opencode-start-agent)))
:init
(defalias 'opencode #'agent-shell-opencode-start-agent)
(defalias 'pi #'agent-shell-pi-start-agent)
:config
(setq agent-shell-opencode-authentication
(agent-shell-opencode-make-authentication :none t))