summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-04-05 20:38:12 +0200
committerAlan Pearce2023-04-05 20:38:12 +0200
commit0ba5339bc5b2b9405448ad4773041ea76fffa7c3 (patch)
treebc2909444b9d40f77d43d6ce636441dc17ecdc3a /user/settings
parent64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f (diff)
downloadnixfiles-0ba5339bc5b2b9405448ad4773041ea76fffa7c3.tar.lz
nixfiles-0ba5339bc5b2b9405448ad4773041ea76fffa7c3.tar.zst
nixfiles-0ba5339bc5b2b9405448ad4773041ea76fffa7c3.zip
emacs: use `gls` from coreutils-prefixed for dired
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/emacs.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 6111e581..70a19554 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -162,6 +162,10 @@ in
       (with-eval-after-load 'editorconfig
         (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig"))
     '' + lib.optionalString stdenv.isDarwin ''
+      (with-eval-after-load 'files
+        (setq insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls"))
+      (with-eval-after-load 'dired
+        (setq dired-use-ls-dired t))
       (setq exec-path (parse-colon-path (setenv "PATH" "${pkgs.lib.readFile darwinPath}")))
     '';
   };