diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1940,14 +1940,15 @@ (when (and c (listp c)) (append c '(:exclusive no))))) - (defun jao-eshell--add-bash-completion () - (setq completion-at-point-functions - '(jao-eshell-completion-capf - pcomplete-completions-at-point t))) + (defun jao-eshell--set-up-completion () + (setq-local completion-styles '(basic partial-completion) + completion-at-point-functions + '(jao-eshell-completion-capf + pcomplete-completions-at-point t))) (use-package bash-completion :ensure t - :hook (eshell-mode . jao-eshell--add-bash-completion)) + :hook (eshell-mode . jao-eshell--set-up-completion)) #+end_src ***** History #+BEGIN_SRC emacs-lisp |