From fd4cf045ebeee45ac7dc9458765145c78d8a7269 Mon Sep 17 00:00:00 2001 From: Juan Placencia Date: Sun, 20 Jun 2021 15:54:28 -0500 Subject: [PATCH] Specify more files/paths to cache path --- uno/modules/+index.org | 11 ++++++++--- uno/modules/dev/shell.org | 3 +++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/uno/modules/+index.org b/uno/modules/+index.org index 4c5eebb..91ae332 100644 --- a/uno/modules/+index.org +++ b/uno/modules/+index.org @@ -22,12 +22,17 @@ Use =gcmh= to optimize garbage collection calls. (gcmh-mode)) #+END_SRC -* Exclude Recent Files +* Cache Files #+BEGIN_SRC emacs-lisp - (use-package recentf - :after uno + (use-package emacs + :after (uno recentf) :config (push (uno-cache-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 diff --git a/uno/modules/dev/shell.org b/uno/modules/dev/shell.org index d81c039..5d971e8 100644 --- a/uno/modules/dev/shell.org +++ b/uno/modules/dev/shell.org @@ -20,7 +20,10 @@ Configure eshell package. (use-package eshell :after uno-dev-shell :custom + (eshell-aliases-file (uno-cache-path "eshell/alias")) (eshell-banner-message "") + (eshell-history-file-name (uno-cache-path "eshell/history")) + (eshell-last-dir-ring-file-name (uno-cache-path "eshell/lastdir")) :hook (eshell-mode . uno/dev/shell/eshell-alias) :general