Update eshell stuff

This commit is contained in:
2026-08-10 12:31:59 -07:00
parent 8712c4dfcd
commit 867fd96d51
+13 -10
View File
@@ -2973,6 +2973,9 @@ Actually, return the method name."
:custom
(eshell-history-append t)
:config
(evil-define-key '(normal insert) eshell-mode-map
(kbd "RET") #'eshell-send-input
(kbd "<return>") #'eshell-send-input)
(defun my/-eshell-filter-alias-list ()
(cl-remove-if-not (lambda (elt)
(or (string-match-p
@@ -4025,17 +4028,17 @@ vising, and their major mode"
:models my/-ollama-models
:host (my/get-private 'ollama-host)))
(gptel-make-preset 'localai-chat
:description "LocalAI with Gemma4 (31b) (web search enabled)"
:backend my/-localai-backend
:model 'gemma-4-31b-it-qat-q4_0
:system 'default
:tools '("WebSearch" "list_buffers" "read_buffer"))
:description "LocalAI with Gemma4 (31b) (web search enabled)"
:backend my/-localai-backend
:model 'gemma-4-31b-it-qat-q4_0
:system 'default
:tools '("WebSearch" "list_buffers" "read_buffer"))
(gptel-make-preset 'localai-code
:description "LocalAI with Qwen2.5 Coder (32b) (web search enabled)"
:backend my/-localai-backend
:model 'qwen2.5-coder-32b-instruct-q4_k_m
:system 'default
:tools '("WebSearch" "list_buffers" "read_buffer"))
:description "LocalAI with Qwen2.5 Coder (32b) (web search enabled)"
:backend my/-localai-backend
:model 'qwen2.5-coder-32b-instruct-q4_k_m
:system 'default
:tools '("WebSearch" "list_buffers" "read_buffer"))
(gptel-preset 'localai-chat))
(use-package gptel-agent
:after 'gptel