style: 将项目中所有英文注释统一改为中文

This commit is contained in:
2026-04-15 16:40:20 +08:00
parent 2cd41bcd16
commit 41913d9a24
13 changed files with 68 additions and 65 deletions
+8 -8
View File
@@ -19,7 +19,7 @@
];
};
# ── Atuin (shell history) ────────────────────────────
# ── AtuinShell 历史记录)─────────────────────────────
programs.atuin = {
enable = true;
enableFishIntegration = true;
@@ -33,11 +33,11 @@
};
};
# ── Zoxide (smart cd) ───────────────────────────────
# ── Zoxide(智能 cd)──────────────────────────────────
programs.zoxide = {
enable = true;
enableFishIntegration = true;
options = [ "--cmd cd" ]; # cd/cdi instead of z/zi
options = [ "--cmd cd" ]; # cd/cdi 替代 z/zi
};
# ── Direnv + nix-direnv ─────────────────────────────
@@ -50,7 +50,7 @@
};
};
# ── Bat (cat replacement) ───────────────────────────
# ── Batcat 替代)────────────────────────────────────
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [
@@ -59,7 +59,7 @@
];
};
# ── Eza (ls replacement) ────────────────────────────
# ── Ezals 替代)─────────────────────────────────────
programs.eza = {
enable = true;
enableFishIntegration = true;
@@ -70,14 +70,14 @@
];
};
# ── Yazi (file manager) ─────────────────────────────
# ── Yazi(文件管理器)────────────────────────────────
programs.yazi = {
enable = true;
enableFishIntegration = true;
shellWrapperName = "y";
};
# ── Btop (system monitor) ───────────────────────────
# ── Btop(系统监控)──────────────────────────────────
programs.btop = {
enable = true;
settings = {
@@ -85,7 +85,7 @@
};
};
# ── Zellij (terminal multiplexer) ────────────────────
# ── Zellij(终端复用器)──────────────────────────────
programs.zellij = {
enable = true;
enableFishIntegration = false;