emacs: use `gls` from coreutils-prefixed for dired
Alan Pearce alan@alanpearce.eu
Wed, 05 Apr 2023 20:38:12 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M user/settings/emacs.nix → user/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}"))) ''; };