Browse Source

Specify more files/paths to cache path

master
Juan Placencia 4 years ago
parent
commit
fd4cf045eb
2 changed files with 11 additions and 3 deletions
  1. +8
    -3
      uno/modules/+index.org
  2. +3
    -0
      uno/modules/dev/shell.org

+ 8
- 3
uno/modules/+index.org View File

@ -22,12 +22,17 @@ Use =gcmh= to optimize garbage collection calls.
(gcmh-mode)) (gcmh-mode))
#+END_SRC #+END_SRC
* Exclude Recent Files
* Cache Files
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package recentf
:after uno
(use-package emacs
:after (uno recentf)
:config :config
(push (uno-cache-path) recentf-exclude) (push (uno-cache-path) recentf-exclude)
(push (uno-private-path) recentf-exclude)) (push (uno-private-path) recentf-exclude))
(use-package emacs
:after (uno url-cache)
:custom
(url-cache-directory (uno-cache-path "url")))
#+END_SRC #+END_SRC

+ 3
- 0
uno/modules/dev/shell.org View File

@ -20,7 +20,10 @@ Configure eshell package.
(use-package eshell (use-package eshell
:after uno-dev-shell :after uno-dev-shell
:custom :custom
(eshell-aliases-file (uno-cache-path "eshell/alias"))
(eshell-banner-message "") (eshell-banner-message "")
(eshell-history-file-name (uno-cache-path "eshell/history"))
(eshell-last-dir-ring-file-name (uno-cache-path "eshell/lastdir"))
:hook :hook
(eshell-mode . uno/dev/shell/eshell-alias) (eshell-mode . uno/dev/shell/eshell-alias)
:general :general

Loading…
Cancel
Save