[zsh] 集成 zsh 配置

This commit is contained in:
2026-01-18 19:54:11 +08:00
parent 3600124906
commit 05138184df
13 changed files with 4310 additions and 13 deletions
+22
View File
@@ -0,0 +1,22 @@
{ lib, pkgs, ... }:
{
programs.zsh = {
enable = true;
plugins = [
{
name = "zsh-autocomplete";
src = pkgs.fetchFromGitHub {
owner = "marlonrichert";
repo = "zsh-autocomplete";
rev = "25.03.19";
sha256 = "sha256-/6V6IHwB5p0GT1u5SAiUa20LjFDSrMo731jFBq/bnpw=";
};
}
];
};
home.file.".zshrc".source = ./zsh/.zshrc;
home.file.".zsh.d" = {
source = ./zsh/.zsh.d;
recursive = true;
};
}