Move eshell cache directory and remove duplicate code for url cache
This commit is contained in:
parent
56a583f3ec
commit
ae97e1b85c
|
@ -289,9 +289,7 @@ nil."
|
||||||
eval-expression-print-level nil)
|
eval-expression-print-level nil)
|
||||||
|
|
||||||
;; cache files
|
;; cache files
|
||||||
(setq url-configuration-directory (concat spacemacs-cache-directory "url")
|
(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp/"))
|
||||||
eshell-directory-name (concat spacemacs-cache-directory "eshell" )
|
|
||||||
tramp-persistency-file-name (concat spacemacs-cache-directory "tramp"))
|
|
||||||
|
|
||||||
;; seems pointless to warn. There's always undo.
|
;; seems pointless to warn. There's always undo.
|
||||||
(put 'narrow-to-region 'disabled nil)
|
(put 'narrow-to-region 'disabled nil)
|
||||||
|
|
|
@ -82,7 +82,9 @@ the user activate the completion manually."
|
||||||
;; my prompt is easy enough to see
|
;; my prompt is easy enough to see
|
||||||
eshell-highlight-prompt nil
|
eshell-highlight-prompt nil
|
||||||
;; treat 'echo' like shell echo
|
;; 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 ()
|
(defun spacemacs//eshell-auto-end ()
|
||||||
"Move point to end of current prompt when switching to insert state."
|
"Move point to end of current prompt when switching to insert state."
|
||||||
|
|
Loading…
Reference in a new issue