fix(navigation): Improve dired on macOS

This commit is contained in:
2020-02-02 03:00:50 +00:00
parent 663852a210
commit b09cc28fb7

View File

@@ -6,6 +6,20 @@
;;; Code:
(use-package dired
:straight (:type built-in)
:config
(when (string= system-type "darwin")
(let ((gls (executable-find "gls")))
(when gls
(setq dired-use-ls-dired t
insert-directory-program gls
dired-listing-switches "-aBhl")))))
(use-package dired-x
:straight (:type built-in))
(use-package dired+
:bind (:map dired-mode-map
("c" . dired-create-directory)