Move some plugins' storage to doom-etc-dir

This commit is contained in:
Henrik Lissner 2017-11-04 22:34:55 +01:00
parent bac286e8e2
commit 9408062f60
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ modes are active and the buffer is read-only.")
;; Save clipboard contents into kill-ring before replacing them
save-interprogram-paste-before-kill t
;; Bookmarks
bookmark-default-file (concat doom-cache-dir "bookmarks")
bookmark-default-file (concat doom-etc-dir "bookmarks")
bookmark-save-flag t
;; Formatting
delete-trailing-lines nil
@ -152,7 +152,7 @@ with functions that require it (like modeline segments)."
(def-package! recentf
:init (add-hook 'doom-init-hook #'recentf-mode)
:config
(setq recentf-save-file (concat doom-cache-dir "recentf")
(setq recentf-save-file (concat doom-etc-dir "recentf")
recentf-max-menu-items 0
recentf-max-saved-items 300
recentf-exclude

View file

@ -28,7 +28,7 @@ renamed.")
persp-nil-name "nil"
persp-nil-hidden t
persp-auto-save-fname "autosave"
persp-save-dir (concat doom-cache-dir "workspaces/")
persp-save-dir (concat doom-etc-dir "workspaces/")
persp-set-last-persp-for-new-frames nil
persp-switch-to-added-buffer nil
persp-remove-buffers-from-nil-persp-behaviour nil

View file

@ -86,7 +86,7 @@
(unless (executable-find "phpctags")
(warn "php-mode: phpctags isn't installed, auto-completion will be gimped"))
(setq ac-php-tags-path (concat doom-cache-dir "ac-php/")))
(setq ac-php-tags-path (concat doom-etc-dir "ac-php/")))
;;

View file

@ -10,7 +10,7 @@
(def-package! eshell ; built-in
:commands eshell-mode
:init
(setq eshell-directory-name (concat doom-cache-dir "/eshell")
(setq eshell-directory-name (concat doom-etc-dir "/eshell")
eshell-scroll-to-bottom-on-input 'all
eshell-scroll-to-bottom-on-output 'all
eshell-buffer-shorthand t