diff options
author | jao <jao@gnu.org> | 2025-08-01 02:43:34 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-08-01 02:43:34 +0100 |
commit | 89f93d3d052f1dfa37e611d62e628b647fa1f7a1 (patch) | |
tree | 25570a8ede702a614a039a8b977ba7d6fe2a0c85 | |
parent | 667c459fd9b05cf78766d1c80e78bce138ebd544 (diff) | |
download | elibs-89f93d3d052f1dfa37e611d62e628b647fa1f7a1.tar.gz elibs-89f93d3d052f1dfa37e611d62e628b647fa1f7a1.tar.bz2 |
simpler bash-completion for eshell
-rw-r--r-- | init.el | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1808,11 +1808,11 @@ (when (and c (listp c)) (append c '(:exclusive no))))) + (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))) + (setq-local completion-styles '(basic partial-completion)) + (add-hook 'completion-at-point-functions + 'bash-completion-capf-nonexclusive nil t)) (use-package bash-completion :ensure t |