pinwheel: Configure zsh

Including prompt and autocomplete
This commit is contained in:
Alexander Heldt
2023-08-09 11:47:26 +02:00
parent 8505c9acb0
commit 5186345042
5 changed files with 618 additions and 0 deletions

View File

@@ -34,6 +34,41 @@
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
defaultKeymap = "viins";
history = {
ignoreDups = true;
size = 100000;
save = 100000;
};
plugins = [
{
name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}
{
name = "zsh-syntax-highlighting";
src = pkgs.zsh-syntax-highlighting;
}
{
name = "zsh-autosuggestions";
src = pkgs.zsh-autosuggestions;
}
{
name = "zsh-syntax-completions";
src = pkgs.zsh-completions;
}
{
name = "powerlevel10k-config";
src = ./configs/p10k-config;
file = "p10k.zsh";
}
];
};
programs.tmux = {