refactor(zsh): 移除 .zshenv,PATH 移入 .zshrc 并支持 .zshrc.local

- 删除 .zshenv,PATH 声明合并至 .zshrc 顶部
- 末尾加载 ~/.zshrc.local 用于机密和机器特定配置
- zsh 模块不再声明 .zshenv 文件
This commit is contained in:
2026-04-02 20:46:34 +08:00
parent 443afbccb1
commit 87ecc69601
3 changed files with 7 additions and 7 deletions
-4
View File
@@ -13,10 +13,6 @@ class ZshModule(Module):
def files(self):
return {
f"/home/{self.user}/.zshenv": File(
source_file="./home/.zshenv",
owner=self.user,
),
f"/home/{self.user}/.zshrc": File(
source_file="./home/.zshrc",
owner=self.user,