all repos — nixfiles @ 0ba5339bc5b2b9405448ad4773041ea76fffa7c3

System and user configuration, managed by nix and home-manager

emacs: use `gls` from coreutils-prefixed for dired
Alan Pearce alan@alanpearce.eu
Wed, 05 Apr 2023 20:38:12 +0200
commit

0ba5339bc5b2b9405448ad4773041ea76fffa7c3

parent

64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -162,6 +162,10 @@ extraConfig = ''       (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}")))
     '';
   };