From 081acac52c9d50a6fa5ac92c8792cdb8a3687163 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Fri, 4 Jul 2025 22:19:25 -0400 Subject: [PATCH] Fixes #67: Dired doesn't work in MacOS because of --group-directories-first --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 70a2f27..7642ad7 100644 --- a/init.el +++ b/init.el @@ -422,7 +422,8 @@ ;; Group directories first (let ((args "--group-directories-first -ahlv")) - (when (featurep :system 'bsd) + (when (or (eq system-type 'darwin) + (eq system-type 'berkeley-unix)) (if-let* ((gls (executable-find "gls"))) (setq insert-directory-program gls) (setq args nil)))