commit a6cc357ac82402085758d980b8902ffe2c720708
parent 8261bd3c233df764f08bcd826f761484ea960733
Author: Anton Konyahin <me@konyahin.xyz>
Date: Mon, 8 May 2023 20:21:42 +0300
emacs: eshell visual subcommands for git
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
@@ -86,6 +86,9 @@
(require 'eshell)
(defalias 'e 'find-file)
+(setq eshell-destroy-buffer-when-process-dies nil)
+(setq eshell-visual-subcommands '())
+(add-to-list 'eshell-visual-subcommands '("git" "log" "diff" "show"))
(add-to-list 'load-path "~/.emacs.d/elpa/eshell-port-helper")
(require 'eshell-port-helper)