Replace exa with eza, because the former is unmaintained
This commit is contained in:
parent
0d5984a4d4
commit
927d1f3f02
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ $ ls -s size | head -n 1 | xargs stat -c %s | awk '{print $1 + 1}' | xargs -I '%
|
||||||
|
|
||||||
| cmd | Explanation |
|
| 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 |
|
| =head -n 1= | Take the first line |
|
||||||
| =xargs stat -c %s= | Print the size in bytes |
|
| =xargs stat -c %s= | Print the size in bytes |
|
||||||
| =awk '{print $1 + 1}= | Add one to it |
|
| =awk '{print $1 + 1}= | Add one to it |
|
||||||
|
|
|
@ -30,7 +30,7 @@ in
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# code = "${pkgs.vscode}/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland";
|
# 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";
|
vimdiff = mkIf config.eboskma.programs.neovim.enable "nvim -d";
|
||||||
vim = mkIf config.eboskma.programs.neovim.enable "nvim";
|
vim = mkIf config.eboskma.programs.neovim.enable "nvim";
|
||||||
|
|
|
@ -27,7 +27,7 @@ in
|
||||||
'';
|
'';
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
alias vim = nvim
|
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)
|
$env.LS_COLORS = (${pkgs.vivid}/bin/vivid generate gruvbox-dark | str trim)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue