about summary refs log tree commit diff
path: root/nix/profiles/home-manager
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-18 19:00:43 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-18 19:00:43 -0800
commit49edc0567bc67fda7a1874607de2a126cd3797c7 (patch)
tree6bb8c54ac45ee6204ff0fe657f946cc5c85a0a70 /nix/profiles/home-manager
parentadd eza, an alternative to ls (diff)
downloadworld-49edc0567bc67fda7a1874607de2a126cd3797c7.tar.gz
more configuration for eza
Diffstat (limited to 'nix/profiles/home-manager')
-rw-r--r--nix/profiles/home-manager/fish.nix10
1 files changed, 10 insertions, 0 deletions
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"; };
   };
 }