refactor(zsh): 移除 .zshenv,PATH 移入 .zshrc 并支持 .zshrc.local
- 删除 .zshenv,PATH 声明合并至 .zshrc 顶部 - 末尾加载 ~/.zshrc.local 用于机密和机器特定配置 - zsh 模块不再声明 .zshenv 文件
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user