diff options
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/ycp-dired.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-dired.el b/emacs/.emacs.d/init/ycp-dired.el index a0892ab..badd8ed 100644 --- a/emacs/.emacs.d/init/ycp-dired.el +++ b/emacs/.emacs.d/init/ycp-dired.el @@ -55,6 +55,8 @@ "<return>" #'my-dired-find-or-alternate "r" #'my-dired-do-rename-and-symlink-back "s" #'my-dired-toggle-sorting) + (advice-add 'dired-do-delete :around 'my-dired-do-delete) + (advice-add 'dired-do-rename :around 'my-dired-do-rename) ) ;;; dired-aux |