From 7ee5b03196d3c811f38306247743217ae9e7d205 Mon Sep 17 00:00:00 2001 From: MoritzBoehme Date: Wed, 29 Sep 2021 13:35:14 +0200 Subject: [PATCH] changed shellGlobalAlias to shellAlias --- modules/cli/zsh.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/modules/cli/zsh.nix b/modules/cli/zsh.nix index 8c48428..5471dc5 100644 --- a/modules/cli/zsh.nix +++ b/modules/cli/zsh.nix @@ -6,19 +6,15 @@ let zsh = { enable = true; dotDir = ".config/zsh"; - history = { - expireDuplicatesFirst = true; - }; - shellGlobalAliases = { + history = { expireDuplicatesFirst = true; }; + shellAliases = { ls = "exa -lh"; cat = "bat"; }; - plugins = [ - { - name = "zsh-syntax-highlighting"; - src = inputs.zsh-syntax-highlighting; - } - ]; + plugins = [{ + name = "zsh-syntax-highlighting"; + src = inputs.zsh-syntax-highlighting; + }]; enableAutosuggestions = true; enableCompletion = true; }; @@ -31,8 +27,7 @@ let }; }; }); -in -{ +in { environment.pathsToLink = [ "/share/zsh" ]; home-manager.users.moritz = { ... }: (base "/home/moritz"); }