Skip to content

Commit c28e90b

Browse files
committed
Move eshell cache directory and remove duplicate code for url cache
1 parent fbf2515 commit c28e90b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

layers/+distribution/spacemacs-base/config.el

+1-3
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,7 @@ nil."
289289
eval-expression-print-level nil)
290290

291291
;; cache files
292-
(setq url-configuration-directory (concat spacemacs-cache-directory "url")
293-
eshell-directory-name (concat spacemacs-cache-directory "eshell" )
294-
tramp-persistency-file-name (concat spacemacs-cache-directory "tramp"))
292+
(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp/"))
295293

296294
;; seems pointless to warn. There's always undo.
297295
(put 'narrow-to-region 'disabled nil)

layers/shell/packages.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ the user activate the completion manually."
6969
;; my prompt is easy enough to see
7070
eshell-highlight-prompt nil
7171
;; treat 'echo' like shell echo
72-
eshell-plain-echo-behavior t)
72+
eshell-plain-echo-behavior t
73+
;; cache directory
74+
eshell-directory-name (concat spacemacs-cache-directory "eshell/"))
7375

7476
(defun spacemacs//eshell-auto-end ()
7577
"Move point to end of current prompt when switching to insert state."

0 commit comments

Comments
 (0)