blob: 3901f36d6ae41bd4534853142066a25b4a0ef77c (
plain) (
blame)
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
|
{
config,
lib,
options,
...
}:
{
config.programs.zsh = {
enable = lib.mkDefault true; # default user shell
autocd = true;
autosuggestion = {
enable = lib.mkDefault true;
strategy = [
"history"
"completion"
];
};
history.ignoreAllDups = true;
initContent = builtins.readFile ./zshrc.zsh;
loginExtra = builtins.readFile ./zlogin.zsh;
setOptions = [ "extendedglob" ];
syntaxHighlighting.enable = true;
};
}
|