This commit is contained in:
2024-04-20 12:35:03 +02:00
parent ed220a6266
commit 3eb9a1f4bf

View File

@@ -8,29 +8,29 @@ in {
]; ];
programs.zsh = { programs.zsh = {
# enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
history.size = 10000000; history.size = 10000000;
history.path = "${config.xdg.dataHome}/zsh/history"; history.path = "${config.xdg.dataHome}/zsh/history";
shellAliases = cli.myAliases; # shellAliases = cli.myAliases;
#
syntaxHighlighting = { # syntaxHighlighting = {
enable = true; # enable = true;
}; # };
#
initExtra = '' # initExtra = ''
[[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh} # [[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh}
eval "$(zoxide init --cmd cd zsh)" # eval "$(zoxide init --cmd cd zsh)"
''; # '';
plugins = [ # plugins = [
{ # {
name = "powerlevel10k"; # name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k; # src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; # file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
} # }
]; # ];
# plug = { # plug = {
# enable = true; # enable = true;