replace ls with eza

This commit is contained in:
Yan Lin 2026-01-28 20:30:54 +01:00
parent 42a9dedb7b
commit da097f5067
3 changed files with 11 additions and 4 deletions

View file

@ -168,7 +168,6 @@
ncdu ncdu
imagemagick imagemagick
git-credential-oauth git-credential-oauth
zoxide
delta delta
fastfetch fastfetch
coreutils # GNU core utilities (base64, etc.) coreutils # GNU core utilities (base64, etc.)

View file

@ -52,7 +52,6 @@
# Command-line utilities # Command-line utilities
ncdu ncdu
git-credential-oauth git-credential-oauth
zoxide
delta delta
fastfetch fastfetch
coreutils # GNU core utilities (base64, etc.) coreutils # GNU core utilities (base64, etc.)

View file

@ -23,7 +23,10 @@ in
}; };
shellAliases = { shellAliases = {
ll = "ls -alF"; ls = "eza";
ll = "eza -l --icons --git";
la = "eza -la --icons --git";
lt = "eza --tree --icons";
# Nix helpers # Nix helpers
hm = "home-manager"; hm = "home-manager";
@ -164,6 +167,12 @@ in
enableZshIntegration = true; enableZshIntegration = true;
}; };
programs.eza = {
enable = true;
icons = "auto";
git = true;
};
# Manage Powerlevel10k configuration # Manage Powerlevel10k configuration
home.file.".p10k.zsh".source = ../config/p10k.zsh; home.file.".p10k.zsh".source = ../config/p10k.zsh;
} }