From 927d1f3f02f57f52befbd3f0adceb5441f3d512b Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 11 Sep 2023 20:11:08 +0200 Subject: [PATCH] Replace exa with eza, because the former is unmaintained --- README.org | 2 +- home-manager/modules/fish/default.nix | 2 +- home-manager/modules/nushell/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 8c018e4..f221f4c 100644 --- a/README.org +++ b/README.org @@ -11,7 +11,7 @@ $ ls -s size | head -n 1 | xargs stat -c %s | awk '{print $1 + 1}' | xargs -I '% | cmd | Explanation | |--------------------------------------+-----------------------------------------------------------------| -| =ls -s size= | List all files, sort by size (=ls= is aliased to =exa= in my setup) | +| =ls -s size= | List all files, sort by size (=ls= is aliased to =eza= in my setup) | | =head -n 1= | Take the first line | | =xargs stat -c %s= | Print the size in bytes | | =awk '{print $1 + 1}= | Add one to it | diff --git a/home-manager/modules/fish/default.nix b/home-manager/modules/fish/default.nix index 66e8d15..d9e3fb6 100644 --- a/home-manager/modules/fish/default.nix +++ b/home-manager/modules/fish/default.nix @@ -30,7 +30,7 @@ in shellAliases = { # code = "${pkgs.vscode}/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland"; - ls = "${pkgs.exa}/bin/exa -Fb --git"; + ls = "${pkgs.eza}/bin/eza -Fb --git"; vimdiff = mkIf config.eboskma.programs.neovim.enable "nvim -d"; vim = mkIf config.eboskma.programs.neovim.enable "nvim"; diff --git a/home-manager/modules/nushell/default.nix b/home-manager/modules/nushell/default.nix index 4150b9e..008578b 100644 --- a/home-manager/modules/nushell/default.nix +++ b/home-manager/modules/nushell/default.nix @@ -27,7 +27,7 @@ in ''; extraConfig = '' alias vim = nvim - alias tree = ${pkgs.exa}/bin/exa -Fb --git --tree --icons + alias tree = ${pkgs.eza}/bin/eza -Fb --git --tree --icons $env.LS_COLORS = (${pkgs.vivid}/bin/vivid generate gruvbox-dark | str trim)