mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
tools/eshell: set eshell-directory-name if ~/.doom.d/eshell exists
This commit is contained in:
@ -11,11 +11,11 @@
|
|||||||
(def-package! eshell ; built-in
|
(def-package! eshell ; built-in
|
||||||
:commands eshell-mode
|
:commands eshell-mode
|
||||||
:init
|
:init
|
||||||
(setq eshell-directory-name (concat doom-etc-dir "/eshell")
|
(let ((dir (concat doom-private-dir "eshell")))
|
||||||
eshell-rc-script "~/.eshellrc"
|
(when (file-directory-p dir)
|
||||||
eshell-aliases-file "~/.eshell_aliases"
|
(setq eshell-directory-name dir)))
|
||||||
;;
|
|
||||||
eshell-scroll-to-bottom-on-input 'all
|
(setq eshell-scroll-to-bottom-on-input 'all
|
||||||
eshell-scroll-to-bottom-on-output 'all
|
eshell-scroll-to-bottom-on-output 'all
|
||||||
eshell-buffer-shorthand t
|
eshell-buffer-shorthand t
|
||||||
eshell-kill-processes-on-exit t
|
eshell-kill-processes-on-exit t
|
||||||
|
Reference in New Issue
Block a user