Skip to content

Commit

Permalink
refractor(dired): send files to 'trash' by default
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil3417 committed Jul 24, 2023
1 parent a3eea29 commit 6482ea9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/emacs/dired/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
dired-recursive-deletes 'top
;; Ask whether destination dirs should get created when copying/removing files.
dired-create-destination-dirs 'ask
;; send deleted files to trash
delete-by-moving-to-trash t
;; Where to store image caches
image-dired-dir (concat doom-cache-dir "image-dired/")
image-dired-db-file (concat image-dired-dir "db.el")
Expand Down

0 comments on commit 6482ea9

Please sign in to comment.