diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-03-28 12:35:05 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-03-28 12:35:05 +0100 |
| commit | 47423e640f87f432895313b1e0b93110c7f138db (patch) | |
| tree | 0fc674a380d445520c42188f6080b8153ccb4109 | |
| parent | 9d4d4247eb811e20a05668cbe8c482f9938f6215 (diff) | |
Eshell Directory in `.cache`
Eshell history should be kept in the XDG cache directory, as I don't
want it to be included in the dotfiles configuration.
| -rw-r--r-- | config/emacs/sanemacs.el | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/config/emacs/sanemacs.el b/config/emacs/sanemacs.el index 43c0576..3f77fa7 100644 --- a/config/emacs/sanemacs.el +++ b/config/emacs/sanemacs.el @@ -22,22 +22,19 @@ tab-width 4) (load-theme 'modus-vivendi) -;; Write auto-saves, backups and bookmarks to `.cache` directory +;; Configure features to use `.cache` directory (setq auto-save-list-file-prefix "~/.cache/emacs/auto-save/" auto-save-file-name-transforms '((".*" "~/.cache/emacs/auto-save/" t)) backup-by-copying t backup-directory-alist '((".*" . "~/.cache/emacs/backup/")) bookmark-default-file "~/.cache/emacs/bookmarks" - create-lockfiles nil) - -;; Configure TRAMP + create-lockfiles nil + eshell-directory-name "~/.cache/emacs/eshell" + treesit-extra-load-path '("~/.cache/emacs/tree-sitter")) (with-eval-after-load 'tramp-cache (setq tramp-persistency-file-name "~/.cache/emacs/tramp")) -;; Configure Tree-Sitter -(setq treesit-extra-load-path '("~/.cache/emacs/tree-sitter")) - ;; Configure package management (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) |
