summaryrefslogtreecommitdiffstats
path: root/lisp/init-mac.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r--lisp/init-mac.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/init-mac.el b/lisp/init-mac.el
index b2de1c5..fbd10fd 100644
--- a/lisp/init-mac.el
+++ b/lisp/init-mac.el
@@ -40,4 +40,9 @@
(when (executable-find "gls")
(setq insert-directory-program "gls"))
+;; use gdf if available as it provides more correct output. When apfs is used,
+;; the ifree column of bsd df seems to be incorrect
+(when (executable-find "gdf")
+ (setq dired-free-space-program "gdf"))
+
(provide 'init-mac)