refactor(eza): delegate base aliases to HM integration, drop redundant flags
This commit is contained in:
+3
-5
@@ -24,17 +24,15 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# File listing (eza)
|
# File listing (eza) — base aliases (ls/la/lt) from programs.eza
|
||||||
l = "eza -1 --icons --group-directories-first";
|
ll = "eza -lh";
|
||||||
ls = "eza --icons --group-directories-first";
|
lla = "eza -lah --time-style=long-iso";
|
||||||
ll = "eza -la --icons --git --group-directories-first";
|
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
cat = "bat --paging=never";
|
cat = "bat --paging=never";
|
||||||
rm = "gomi";
|
rm = "gomi";
|
||||||
lg = "lazygit";
|
lg = "lazygit";
|
||||||
vi = "nvim";
|
vi = "nvim";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|||||||
@@ -62,11 +62,10 @@
|
|||||||
# ── Eza (ls replacement) ────────────────────────────
|
# ── Eza (ls replacement) ────────────────────────────
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = false; # we use custom abbrs in fish.nix
|
enableFishIntegration = true;
|
||||||
git = true;
|
git = true;
|
||||||
icons = "auto";
|
icons = "auto";
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--color=always"
|
|
||||||
"--group-directories-first"
|
"--group-directories-first"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user