mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 13:46:11 +01:00
error resolution
This commit is contained in:
39
home-manager/features/cli/zsh/default.nix
Normal file
39
home-manager/features/cli/zsh/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{config, pkgs, ...}: let
|
||||
cli = import ../aliases.nix;
|
||||
in {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
history.size = 10000000;
|
||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||
|
||||
shellAliases = cli.myAliases;
|
||||
|
||||
initExtra = ''
|
||||
[[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh}
|
||||
eval "$(zoxide init zsh)"
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "powerlevel10k";
|
||||
src = pkgs.zsh-powerlevel10k;
|
||||
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
||||
}
|
||||
];
|
||||
|
||||
zplug = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{ name = "zsh-users/zsh-autosuggestions"; }
|
||||
# { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; }
|
||||
];
|
||||
};
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
1712
home-manager/features/cli/zsh/p10k.zsh
Normal file
1712
home-manager/features/cli/zsh/p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user