summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-17 13:50:50 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-17 13:50:50 -0700
commit672b74e76fc778ba85b46af7722e082a378814fe (patch)
tree9e3d6b22e7423a3e4e9bc03e9148d46810987a75
parentemacs: custom prompt for eshell (diff)
downloademacs.d-672b74e76fc778ba85b46af7722e082a378814fe.tar.gz
emacs: add binding for counsel-esh-history
The default one is not working, and I don't think it's obvious to me
what it was anyway.
-rw-r--r--emacs/custom/fcuny-eshell.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-eshell.el b/emacs/custom/fcuny-eshell.el
index 1e0d994..38d67da 100644
--- a/emacs/custom/fcuny-eshell.el
+++ b/emacs/custom/fcuny-eshell.el
@@ -156,7 +156,8 @@ append to it, while separating multiple outputs with
          (eshell-mode . eshell-smart-initialize))
   :commands (eshell eshell-command)
   :bind (("C-c e h" . fcuny/eshell-here)
-         ("C-c e e" . fcuny/eshell-export))
+         ("C-c e e" . fcuny/eshell-export)
+         ("C-c r"   . counsel-esh-history))
   :custom
   (eshell-scroll-to-bottom-on-input 'all)
   (eshell-error-if-no-glob t)