summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-07-04 23:27:53 +0200
committerrekado <rekado@elephly.net>2016-07-04 23:27:53 +0200
commit93e30c56783934ec448e92294956bb5574fd55a4 (patch)
tree5af7e794189996a622c4d7c69bb6b9a946c52ebd /lisp
parent21962e243374e091c9fdc1abf53ce10502cbe3e5 (diff)
shell: Load shared bash_history.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-eshell.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-eshell.el b/lisp/init-eshell.el
index 069ce56..d60356e 100644
--- a/lisp/init-eshell.el
+++ b/lisp/init-eshell.el
@@ -53,6 +53,10 @@
;; needed for proper display of "ls"
(setq tab-width 8)
+ ;; load shared bash history
+ (setq comint-input-ring-file-name "~/.bash_history")
+ (comint-read-input-ring t)
+
(define-key shell-mode-map
(kbd "C-d") 'my/comint-delchar-or-eof-or-kill-buffer)
(define-key shell-mode-map