about summary refs log tree commit diff stats
path: root/nix-conf/home/includes
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf/home/includes')
-rw-r--r--nix-conf/home/includes/common.nix17
-rw-r--r--nix-conf/home/includes/zsh.nix4
2 files changed, 19 insertions, 2 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index 7ae5c41..7173c1c 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -60,7 +60,6 @@ in
     ea
     elinks
     entr
-    eza
     fd
     file
     fzf
@@ -91,6 +90,7 @@ in
     ssh-to-age
     tealdeer
     tre-command
+    tree
     ugrep
     uni
     unzip
@@ -120,6 +120,21 @@ in
     };
   };
 
+  programs.eza = {
+    enable = true;
+    git = true;
+    icons = true;
+    extraOptions = [
+      "--colour=auto"
+      "--long"
+      "--group-directories-first"
+      "--classify"
+      "--no-user"
+      "--no-time"
+      "--no-filesize"
+      "--no-permissions"
+    ];
+  };
 
   programs.gpg.enable = true;
   programs.nix-index = {
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 34a2bb7..a475f12 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -62,8 +62,10 @@ in
       cp = "cp -iv";
       mv = "mv -iv";
       mkdir = "mkdir -v";
-      tree = "eza --tree";
       cat = "bat -p";
+      l = "eza";
+      ll = "\\eza --icons --git --colour --long --group-directories-first --classify";
+      t = "eza --tree";
 
       pp = ''pushbullet push "Pixel" link "''${1}" "''${1}"'';