diff options
author | Alan Pearce | 2023-04-05 20:38:12 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-05 20:38:12 +0200 |
commit | 0ba5339bc5b2b9405448ad4773041ea76fffa7c3 (patch) | |
tree | bc2909444b9d40f77d43d6ce636441dc17ecdc3a /user/settings | |
parent | 64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f (diff) | |
download | nixfiles-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.nix | 4 |
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}"))) ''; }; |