summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el
index cca2dd0..f56d8cf 100644
--- a/init.el
+++ b/init.el
@@ -1322,6 +1322,8 @@
(setq dired-recursive-copies t
dired-recursive-deletes t)
+ (setq dired-deletion-confirmer #'y-or-n-p)
+
(put 'dired-find-alternate-file 'disabled nil)
(add-hook 'dired-mode-hook #'dired-hide-details-mode)