{ config, pkgs, ... }: { programs.zsh = { enable = true; enableCompletion = true; enableGlobalCompInit = false; autosuggestions.enable = true; syntaxHighlighting.enable = true; histSize = 10000; }; home-manager.users.${config.user} = { home.file = { ".zshrc".source = ./zshrc; ".zprofile".source = ./zprofile; ".nixenv".source = pkgs.writeText "nixenv" '' # nix shell env auto generated file export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#${config.theme.colors.subtext}' ''; }; programs.zoxide = { enable = true; enableZshIntegration = true; }; }; }