Update eshell completions

This commit is contained in:
2026-09-03 00:44:02 -07:00
parent 604846e0af
commit 41c6c79413
+4
View File
@@ -3147,6 +3147,10 @@ Actually, return the method name."
"Setup function run from `eshell-mode-hook'" "Setup function run from `eshell-mode-hook'"
(setq-local corfu-auto nil (setq-local corfu-auto nil
corfu-map my/eshell-corfu-map) corfu-map my/eshell-corfu-map)
(if-let* ((loc (memq 'pcomplete-completions-at-point
completion-at-point-functions)))
(cl-pushnew #'cape-file (cdr loc))
(add-hook 'completion-at-point-functions #'cape-file nil t))
(my/-eshell-maybe-setup-remote t) (my/-eshell-maybe-setup-remote t)
(with-editor-export-editor)) (with-editor-export-editor))
(setq-default eshell-command-aliases-list (setq-default eshell-command-aliases-list