Refactoring and fixing

This commit is contained in:
2025-09-16 19:51:36 +03:00
parent c5320ce825
commit 33658c20eb
8 changed files with 91 additions and 14 deletions

View File

@@ -1,5 +1,13 @@
{ lib, ... }:
{
lib,
pkgs,
config,
...
}:
{
home.packages = lib.mkIf config.programs.zsh.enable (with pkgs; [ zsh-powerlevel10k ]);
programs.zsh = {
autosuggestion = {
enable = true;
@@ -48,11 +56,15 @@
"aliases"
"alias-finder"
"rsync"
"z"
];
theme = lib.mkDefault "agnoster";
# theme = lib.mkDefault "powerlevel10k/powerlevel10k";
};
initContent = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
source ~/.p10k.zsh
zstyle ':omz:plugins:alias-finder' autoload yes
zstyle ':omz:plugins:alias-finder' longer no
zstyle ':omz:plugins:alias-finder' exact yes