From 7be8455bcf1fa7cfd8129bc640ed10944426c3e5 Mon Sep 17 00:00:00 2001 From: kj Date: Wed, 21 Oct 2026 14:53:04 -0300 Subject: [PATCH] feat(init-ai): alias opencode and pi commands at init --- configs/init-ai.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/init-ai.el b/configs/init-ai.el index 9981617..3a6e284 100644 --- a/configs/init-ai.el +++ b/configs/init-ai.el @@ -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))