tools/eshell: fix naive path concatenation for eshell-directory-name

This commit is contained in:
Henrik Lissner 2018-05-25 00:58:09 +02:00
parent 6b70831386
commit cce30367bb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -10,7 +10,7 @@
:defer t
:init
(setq eshell-directory-name
(let ((dir (concat doom-private-dir "eshell")))
(let ((dir (expand-file-name "eshell" doom-private-dir)))
(if (file-directory-p dir)
dir
"~/.eshell"))