about summary refs log tree commit diff
path: root/home/shell/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'home/shell/zsh')
-rw-r--r--home/shell/zsh/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/home/shell/zsh/default.nix b/home/shell/zsh/default.nix
index 14ddd6c..b5858e9 100644
--- a/home/shell/zsh/default.nix
+++ b/home/shell/zsh/default.nix
@@ -1,5 +1,7 @@
 { config, pkgs, lib, ... }:
-let cfg = config.my.home.shell;
+let
+  cfg = config.my.home.shell;
+  aliases = config.my.home.shell.aliases;
 in
 {
   config = lib.mkIf (cfg.name == "zsh") {
@@ -28,10 +30,7 @@ in
         REPORTTIME = 5;
       };
 
-      shellAliases = {
-        ll = "ls -l --color=auto";
-        lt = "ls -ltrh --color=auto";
-      };
+      shellAliases = aliases;
 
       defaultKeymap = "emacs";