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"); }