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
+7
View File
@@ -1,3 +1,7 @@
# PATH
export PATH="$HOME/go/bin:$PATH"
export PATH="$HOME/.bun/bin:$PATH"
# Oh My Zsh
ZSH=/usr/share/oh-my-zsh/
ZSH_THEME="ys"
@@ -28,3 +32,6 @@ alias ls="eza"
alias tree="eza --tree"
alias cat="bat --paging=never"
alias rm="trash-put"
# Local overrides (secrets, machine-specific config)
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local