From 6ee9e84bb19162d58d0f19727e0e996b385d3f71 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Wed, 16 Sep 2020 08:09:50 +0200 Subject: [PATCH] Reduce number of ls switches when on windows They do not seem to be supported by mingw's ls? --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index b20de87..6716aa8 100644 --- a/init.el +++ b/init.el @@ -1917,7 +1917,7 @@ ("" . dired-subtree-cycle)) :init (progn (setq dired-dwim-target t - dired-listing-switches "-aGFhlv --group-directories-first --time-style=long-iso" + dired-listing-switches (if on-windows "-aGFhlv" "-aGFhlv --group-directories-first --time-style=long-iso") dired-hide-details-hide-information-lines t dired-hide-details-hide-symlink-targets t dired-recursive-copies 'top