From 357c73dbb516008aacd19a878cc621ebf8a20f21 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 13 Jan 2025 17:42:32 -0800 Subject: enable eza again and add more git aliases --- nix/users/fcuny/shell.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'nix/users/fcuny/shell.nix') diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index b415038..bcac8c6 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -51,6 +51,24 @@ in g = "git"; gap = "git add --patch"; }; + shellAliases = { + la = "eza -la --git --color=always --group-directories-first"; + ll = "eza -la -L=1 --git --color=always --group-directories-first"; + lt = "eza -aT -L=2 --git --color=always --group-directories-first"; + }; + }; + + # an alternative to ls + programs.eza = { + enable = true; + icons = "never"; + enableFishIntegration = false; + extraOptions = [ + "--group-directories-first" + "--no-quotes" + "--git-ignore" + "--icons=never" + ]; }; # an alternative to find -- cgit v1.2.3