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 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))
|
||||
|
||||
Reference in New Issue
Block a user