refactor(homeModules/cli): move zsh config to module
This commit is contained in:
parent
991a10ca18
commit
97e4bf372b
4 changed files with 5 additions and 8 deletions
15
modules/home/cli/shell/zsh.nix
Normal file
15
modules/home/cli/shell/zsh.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.cli.shell == "zsh") {
|
||||
home.sessionVariables.SHELL = "zsh";
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableVteIntegration = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
history.share = true;
|
||||
history.size = 10000;
|
||||
history.ignoreDups = true;
|
||||
history.ignoreSpace = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue