add zsh config

This commit is contained in:
MFlossmann 2024-07-03 17:37:04 +02:00
parent a2dc4db6d0
commit e447d52cee
2 changed files with 28 additions and 9 deletions

View file

@ -1,7 +1,6 @@
{
pkgs,
config,
lib,
inputs,
...
}: {
@ -44,12 +43,32 @@
ripgrep
fastfetch
wget
lsd
];
home.sessionVariables = {
EDITOR = "nvim";
};
programs.neovim.enable = false;
programs.neovim.defaultEditor = false;
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ls = "lsd";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
};
programs.neovim = {
enable = false;
defaultEditor = false;
# package = inputs.nixvim-config.packages.${pkgs.system}.default;
};
}