summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 7c25e79..635733f 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -224,7 +224,7 @@
                   dired-recursive-deletes 'top
                   dired-bind-jump nil)
             (when (and (eq system-type 'darwin) (executable-find "gls"))
-              (setq insert-directory-program "/usr/local/bin/gls"))
+              (setq insert-directory-program (executable-find "gls")))
             (put 'dired-find-alternate-file 'disabled nil)))
 
 (req-package dired-x