From a1ba07faf5ac801e989a6c5853d31a9c916af7f6 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Mon, 13 Apr 2026 21:03:24 +0800 Subject: [PATCH] refactor(eza): delegate base aliases to HM integration, drop redundant flags --- home/shell/fish.nix | 8 +++----- home/shell/tools.nix | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/home/shell/fish.nix b/home/shell/fish.nix index c21f35e..8836199 100644 --- a/home/shell/fish.nix +++ b/home/shell/fish.nix @@ -24,17 +24,15 @@ in }; shellAliases = { - # File listing (eza) - l = "eza -1 --icons --group-directories-first"; - ls = "eza --icons --group-directories-first"; - ll = "eza -la --icons --git --group-directories-first"; + # File listing (eza) — base aliases (ls/la/lt) from programs.eza + ll = "eza -lh"; + lla = "eza -lah --time-style=long-iso"; # Tools cat = "bat --paging=never"; rm = "gomi"; lg = "lazygit"; vi = "nvim"; - }; interactiveShellInit = '' diff --git a/home/shell/tools.nix b/home/shell/tools.nix index 85cb500..4c3a034 100644 --- a/home/shell/tools.nix +++ b/home/shell/tools.nix @@ -62,11 +62,10 @@ # ── Eza (ls replacement) ──────────────────────────── programs.eza = { enable = true; - enableFishIntegration = false; # we use custom abbrs in fish.nix + enableFishIntegration = true; git = true; icons = "auto"; extraOptions = [ - "--color=always" "--group-directories-first" ]; };