tools/eshell: default to ~/.doom.d/eshell or ~/.eshell
This commit is contained in:
parent
7bf133e991
commit
5ab790c07d
1 changed files with 6 additions and 5 deletions
|
@ -11,11 +11,12 @@
|
||||||
(def-package! eshell ; built-in
|
(def-package! eshell ; built-in
|
||||||
:commands eshell-mode
|
:commands eshell-mode
|
||||||
:init
|
:init
|
||||||
|
(setq eshell-directory-name
|
||||||
(let ((dir (concat doom-private-dir "eshell")))
|
(let ((dir (concat doom-private-dir "eshell")))
|
||||||
(when (file-directory-p dir)
|
(if (file-directory-p dir)
|
||||||
(setq eshell-directory-name dir)))
|
dir
|
||||||
|
"~/.eshell"))
|
||||||
(setq eshell-scroll-to-bottom-on-input 'all
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue