From 27295e9e7fcc6a35b3d563f94d034f5bd861f373 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 6 Sep 2023 16:35:21 +0300 Subject: emacs: Add dired-listing-switches --- .emacs.d/modules/thanos-dired.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.emacs.d/modules/thanos-dired.el') diff --git a/.emacs.d/modules/thanos-dired.el b/.emacs.d/modules/thanos-dired.el index 74973b1..c6c7382 100644 --- a/.emacs.d/modules/thanos-dired.el +++ b/.emacs.d/modules/thanos-dired.el @@ -32,6 +32,8 @@ (require 'dired) (require 'nerd-icons-dired) +(setf dired-listing-switches "-lha") + (defun dired-watch-video () "Watch play file with mpv." (interactive) @@ -67,7 +69,7 @@ (dired-delete-file file t))))) (defun dired-rename-capitalize-file () - "Capitalize the base name of the file at point in a dired buffer." + "Capitalize the base name of the file at point in a Dired buffer." (interactive) (let* ((file (dired-get-file-for-visit)) (new-file (capitalize (file-name-nondirectory file)))) -- cgit v1.2.3