feat(init-ai): alias opencode and pi commands at init
This commit is contained in:
+3
-2
@@ -235,8 +235,9 @@ content do not break gptel-magit."
|
|||||||
(use-package acp)
|
(use-package acp)
|
||||||
|
|
||||||
(use-package agent-shell
|
(use-package agent-shell
|
||||||
:after (shell-maker acp)
|
:init
|
||||||
:hook (elpaca-after-init . (lambda () (defalias 'opencode #'agent-shell-opencode-start-agent)))
|
(defalias 'opencode #'agent-shell-opencode-start-agent)
|
||||||
|
(defalias 'pi #'agent-shell-pi-start-agent)
|
||||||
:config
|
:config
|
||||||
(setq agent-shell-opencode-authentication
|
(setq agent-shell-opencode-authentication
|
||||||
(agent-shell-opencode-make-authentication :none t))
|
(agent-shell-opencode-make-authentication :none t))
|
||||||
|
|||||||
Reference in New Issue
Block a user