]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
eshell-mode: use helm-eshell-history and helm-esh-pcomplete.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 28 Apr 2015 18:57:08 +0000 (20:57 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 28 Apr 2015 18:57:08 +0000 (20:57 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index b42f69674ba2e742394c6be30158db40bb82e1c8..7719d6b40943cd9d8f6f45d239ac77a6c01f3198 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1306,6 +1306,16 @@ Some links you might check out:
         (global-set-key "\C-cr" 'helm-recentf)
         (global-set-key (kbd "M-s o") 'helm-occur)
         (define-key global-map "\C-x\C-b" 'helm-buffers-list)
+
+        (add-hook 'eshell-mode-hook
+                  #'(lambda()
+                      (define-key eshell-mode-map
+                        [remap eshell-pcomplete]
+                        'helm-esh-pcomplete)
+                      (define-key eshell-mode-map
+                        (kbd "M-p")
+                        'helm-eshell-history)
+                      ))
         )
   )