From 93e30c56783934ec448e92294956bb5574fd55a4 Mon Sep 17 00:00:00 2001 From: rekado Date: Mon, 4 Jul 2016 23:27:53 +0200 Subject: shell: Load shared bash_history. --- lisp/init-eshell.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisp') 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 -- cgit v1.2.3