blob: 8bb12db6a6eb109d3304bfaf4773ff151ecb19fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
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;
};
};
}
|