2019-07-31 21:56:52 +00:00
|
|
|
{ pkgs, ... }: {
|
2020-05-16 13:59:27 +00:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
enableAutosuggestions = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
history = {
|
|
|
|
save = 100000;
|
|
|
|
size = 100000;
|
|
|
|
};
|
|
|
|
initExtra = ''
|
|
|
|
${builtins.readFile ./zshrc}
|
|
|
|
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
|
|
|
source ${./p10k.zsh}
|
|
|
|
'';
|
|
|
|
oh-my-zsh = {
|
2018-05-31 10:34:48 +00:00
|
|
|
enable = true;
|
2020-05-16 13:59:27 +00:00
|
|
|
plugins = [ "colored-man-pages" ];
|
2018-05-31 10:34:48 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|