summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/custom/fcuny-navigation.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el
index f418a1a..c86e53f 100644
--- a/emacs.d/custom/fcuny-navigation.el
+++ b/emacs.d/custom/fcuny-navigation.el
@@ -27,18 +27,23 @@
   (counsel-find-file-ignore-regexp "\\.DS_Store\\|\\.localized\\'")
   (counsel-find-file-at-point t))
 
+(use-package ls-lisp
+  :ensure nil
+  :custom
+  (ls-lisp-use-insert-directory-program nil)
+  (ls-lisp-dirs-first t))
+
 (use-package dired
   :defer t
+  :hook (dired-mode . dired-hide-details-mode)
   :bind (("C-x C-d" . dired)
          ("C-x C-j" . dired-jump))
+
   :init
   (setq-default dired-dwim-target t)
   (setq-default dired-listing-switches "-alh")
   (setq dired-recursive-deletes 'always)
-  (setq dired-recursive-copies 'always)
-
-  (let ((gls (executable-find "/bin/ls")))
-    (when gls (setq insert-directory-program gls))))
+  (setq dired-recursive-copies 'always))
 
 (use-package dired-x
   :ensure nil