diff options
author | Franck Cuny <franck@fcuny.net> | 2024-11-18 19:00:43 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-11-18 19:00:43 -0800 |
commit | 49edc0567bc67fda7a1874607de2a126cd3797c7 (patch) | |
tree | 6bb8c54ac45ee6204ff0fe657f946cc5c85a0a70 | |
parent | add eza, an alternative to ls (diff) | |
download | world-49edc0567bc67fda7a1874607de2a126cd3797c7.tar.gz |
more configuration for eza
Diffstat (limited to '')
-rw-r--r-- | nix/hosts/darwin/macos.nix | 1 | ||||
-rw-r--r-- | nix/profiles/home-manager/fish.nix | 10 |
2 files changed, 11 insertions, 0 deletions
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"; }; }; } |