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