diff options
-rw-r--r-- | init.org | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1769,10 +1769,12 @@ ***** Completion #+begin_src emacs-lisp (defun jao-eshell-completion-capf () - (bash-completion-dynamic-complete-nocomint - (save-excursion (eshell-bol) (point)) - (point) - t)) + (let ((c (bash-completion-dynamic-complete-nocomint + (save-excursion (eshell-bol) (point)) + (point) + t))) + (when (and c (listp c)) + (append c '(:exclusive no))))) (defun jao-eshell--add-bash-completion () (setq completion-at-point-functions |