From 49edc0567bc67fda7a1874607de2a126cd3797c7 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Nov 2024 19:00:43 -0800 Subject: more configuration for eza --- nix/hosts/darwin/macos.nix | 1 + nix/profiles/home-manager/fish.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'nix') diff --git a/nix/hosts/darwin/macos.nix b/nix/hosts/darwin/macos.nix index 36f680a..c901783 100644 --- a/nix/hosts/darwin/macos.nix +++ b/nix/hosts/darwin/macos.nix @@ -17,6 +17,7 @@ source-serif-pro source-sans-pro go-font + nerdfonts # this is needed for eza ]; system.keyboard = { diff --git a/nix/profiles/home-manager/fish.nix b/nix/profiles/home-manager/fish.nix index 5a2610c..dee7e11 100644 --- a/nix/profiles/home-manager/fish.nix +++ b/nix/profiles/home-manager/fish.nix @@ -4,5 +4,15 @@ interactiveShellInit = '' set fish_greeting "" ''; + + shellAliases = { + l = + "eza --tree --level=2 --time-style=long-iso --group-directories-first --icons"; + ll = "l -l"; + lh = "ll"; + la = "ll -a"; + ld = "eza -ld"; + }; + shellAbbrs = { ncg = "nix-collect-garbage -d"; }; }; } -- cgit 1.4.1