summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-08-19 11:33:49 +0200
committerAlan Pearce2019-08-19 11:33:49 +0200
commitd3bc4a8d83d805d748e7c0ceecb05e36fa71ce57 (patch)
tree210d9092c966a7da02e7a9348a394f9b124b8ad0 /emacs
parentcac3de632b4a4d1d97c4391bc920482eac44d850 (diff)
downloadnixfiles-d3bc4a8d83d805d748e7c0ceecb05e36fa71ce57.tar.lz
nixfiles-d3bc4a8d83d805d748e7c0ceecb05e36fa71ce57.tar.zst
nixfiles-d3bc4a8d83d805d748e7c0ceecb05e36fa71ce57.zip
Emacs: use partial completion in eshell
Diffstat (limited to 'emacs')
-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 6ac9fa6e..a83de400 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)))