summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 7c25e79e..635733fd 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