From 41c6c7941363bf33748167d6376a2bc4b52e30ea Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 3 Sep 2026 00:44:02 -0700 Subject: [PATCH] Update eshell completions --- init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.el b/init.el index 85076af..132ec8b 100644 --- a/init.el +++ b/init.el @@ -3147,6 +3147,10 @@ Actually, return the method name." "Setup function run from `eshell-mode-hook'" (setq-local corfu-auto nil 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) (with-editor-export-editor)) (setq-default eshell-command-aliases-list