Move eshell cache directory and remove duplicate code for url cache

This commit is contained in:
syl20bnr 2016-02-16 23:40:25 -05:00
parent 56a583f3ec
commit ae97e1b85c
2 changed files with 4 additions and 4 deletions

View File

@ -289,9 +289,7 @@ nil."
eval-expression-print-level nil)
;; cache files
(setq url-configuration-directory (concat spacemacs-cache-directory "url")
eshell-directory-name (concat spacemacs-cache-directory "eshell" )
tramp-persistency-file-name (concat spacemacs-cache-directory "tramp"))
(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp/"))
;; seems pointless to warn. There's always undo.
(put 'narrow-to-region 'disabled nil)

View File

@ -82,7 +82,9 @@ the user activate the completion manually."
;; my prompt is easy enough to see
eshell-highlight-prompt nil
;; treat 'echo' like shell echo
eshell-plain-echo-behavior t)
eshell-plain-echo-behavior t
;; cache directory
eshell-directory-name (concat spacemacs-cache-directory "eshell/"))
(defun spacemacs//eshell-auto-end ()
"Move point to end of current prompt when switching to insert state."