Skip to content

Commit 081acac

Browse files
committed
Fixes #67: Dired doesn't work in MacOS because of --group-directories-first
1 parent 42929fd commit 081acac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

init.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@
422422

423423
;; Group directories first
424424
(let ((args "--group-directories-first -ahlv"))
425-
(when (featurep :system 'bsd)
425+
(when (or (eq system-type 'darwin)
426+
(eq system-type 'berkeley-unix))
426427
(if-let* ((gls (executable-find "gls")))
427428
(setq insert-directory-program gls)
428429
(setq args nil)))

0 commit comments

Comments
 (0)