Skip to content

Commit

Permalink
Switch from Exa to Eza and tweak config
Browse files Browse the repository at this point in the history
  • Loading branch information
malob committed Dec 28, 2024
1 parent 8d4ef58 commit 0b976b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 0 additions & 5 deletions home/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ in
set-shell-colors = {
body =
''
# Set LS_COLORS
set -xg LS_COLORS (${pkgs.vivid}/bin/vivid generate solarized-$term_background)
# Set color variables
if test "$term_background" = light
set emphasized_text brgreen # base01
Expand Down Expand Up @@ -127,8 +124,6 @@ in
du = "${du-dust}/bin/dust";
g = "${gitAndTools.git}/bin/git";
la = "ll -a";
ll = "ls -l --time-style long-iso --icons";
ls = "${eza}/bin/eza";
tb = "toggle-background";
};

Expand Down
11 changes: 11 additions & 0 deletions home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ in
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;

# Eza, a modern, maintained replacement for ls, written in rust
# https://eza.rocks
# https://nix-community.github.io/home-manager/options.xhtml#opt-programs.eza.enable
programs.eza.enable = true;
programs.eza.git = true;
programs.eza.icons = "auto";
programs.eza.extraConfig = [
"--group-directories-first"
];
home.sessionVariables.EZA_COLORS = "xx=0"; # https://github.com/eza-community/eza/issues/994

# SSH
# https://nix-community.github.io/home-manager/options.html#opt-programs.ssh.enable
# Some options also set in `../darwin/homebrew.nix`.
Expand Down

0 comments on commit 0b976b0

Please sign in to comment.