diff --git a/core/core.el b/core/core.el index 8a39f30bf..8dda3010f 100644 --- a/core/core.el +++ b/core/core.el @@ -265,6 +265,10 @@ users).") (unless IS-MAC (setq command-line-ns-option-alist nil)) (unless IS-LINUX (setq command-line-x-option-alist nil)) +;; Delete files to trash on macOS, as an extra layer of precaution against +;; accidentally deleting wanted files. +(setq delete-by-moving-to-trash IS-MAC) + ;; Adopt a sneaky garbage collection strategy of waiting until idle time to ;; collect; staving off the collector while the user is working. (when doom-interactive-mode