Replace exa with eza, because the former is unmaintained

This commit is contained in:
Erwin Boskma 2023-09-11 20:11:08 +02:00
parent 0d5984a4d4
commit 927d1f3f02
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
3 changed files with 3 additions and 3 deletions

View file

@ -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 |

View file

@ -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";

View file

@ -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)