From 422116ab209e13a6a55915bd61609c3f92a9e5c9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 10 May 2025 12:52:25 -0500 Subject: use FSF coreutils when on BSD --- modules/system-defaults.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules') diff --git a/modules/system-defaults.el b/modules/system-defaults.el index b7af439b2..75de326ec 100644 --- a/modules/system-defaults.el +++ b/modules/system-defaults.el @@ -192,5 +192,11 @@ (when (daemonp) (exec-path-from-shell-initialize))) +;; ------------------------------- GNU Ls On BSD ------------------------------- +;; when on BSD use the ls from FSF sysutils/coreutils: pkg install coreutils + +(cond ((eq system-type 'berkeley-unix) + (setq insert-directory-program "/usr/local/bin/gls"))) + (provide 'system-defaults) ;;; system-defaults.el ends here -- cgit v1.2.3