summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-08-19 11:33:49 +0200
committerAlan Pearce2019-08-19 11:33:49 +0200
commitd3bc4a8d83d805d748e7c0ceecb05e36fa71ce57 (patch)
tree210d9092c966a7da02e7a9348a394f9b124b8ad0
parentcac3de632b4a4d1d97c4391bc920482eac44d850 (diff)
downloaddotfiles-d3bc4a8d83d805d748e7c0ceecb05e36fa71ce57.tar.lz
dotfiles-d3bc4a8d83d805d748e7c0ceecb05e36fa71ce57.tar.zst
dotfiles-d3bc4a8d83d805d748e7c0ceecb05e36fa71ce57.zip
Emacs: use partial completion in eshell
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 6ac9fa6..a83de40 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -465,7 +465,8 @@ With two prefix arguments, write out the day and month name."
             (evil-ex-define-cmd "esh[ell]" #'eshell)))
   :custom ((eshell-prompt-function (lambda ()
                                      (concat (eshell/pwd) "\n$ ")))
-           (eshell-prompt-regexp "^[$][[:blank:]]")))
+           (eshell-prompt-regexp "^[$][[:blank:]]")
+           (eshell-cmpl-cycle-completions nil)))
 
 (use-package eshell-toggle
   :custom ((eshell-toggle-use-projectile-root t)))