summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.org b/init.org
index bd6fb75..43ef0a0 100644
--- a/init.org
+++ b/init.org
@@ -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