about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/hosts/darwin/macos.nix1
-rw-r--r--nix/profiles/home-manager/fish.nix10
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"; };
   };
 }