mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Fixing path to Trash for Emacs saving backup files.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
(use-package all-the-icons-dired
|
||||
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
|
||||
|
||||
(setq backup-directory-alist '((".*" . "~/.Trash")))
|
||||
(setq backup-directory-alist '((".*" . "~/.local/share/Trash/files")))
|
||||
|
||||
(use-package company
|
||||
:defer 2
|
||||
|
||||
@@ -82,7 +82,7 @@ This is an icon set that can be used with dashboard, dired, ibuffer and other Em
|
||||
By default, Emacs creates automatic backups of files in their original directories, such "file.el" and the backup "file.el~". This leads to a lot of clutter, so let's tell Emacs to put all backups that it creates in the =TRASH= directory.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq backup-directory-alist '((".*" . "~/.Trash")))
|
||||
(setq backup-directory-alist '((".*" . "~/.local/share/Trash/files")))
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user