From 1e23024af4ac4b3c2954e506408b4f42e4cb42f5 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Wed, 4 Oct 2017 19:25:41 +0200 Subject: Use GNU df on Mac when available --- lisp/init-mac.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp/init-mac.el') 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) -- cgit v1.2.3