diff --git a/emacs/.emacs.d/config/init-ai.el b/emacs/.emacs.d/config/init-ai.el index 7b9e477..07db5b6 100644 --- a/emacs/.emacs.d/config/init-ai.el +++ b/emacs/.emacs.d/config/init-ai.el @@ -29,6 +29,7 @@ models-alist))))) (setq gptel-backend (car backend) gptel-model (cadr backend)))) + (add-to-list 'gptel-directives '(shell-command . "You are a command line helper. Generate shell commands that do what is requested, without any additional description or explanation. Reply in plain text with no Markdown or other syntax. Reply with the command only.")) :general ("C-c RET" #'gptel-send "C-c C-" #'gptel-menu)