refactor(shell): stop managing ~/.zprofile

Always-on and machine hooks already live in .zshenv / local.zsh.
Drop the empty stub, remove it on deploy, and leave real .zprofile
files to optional migration into local.zsh only.
This commit is contained in:
Jeffrey
2026-08-06 14:50:11 +08:00
parent e5e2801ce8
commit 7a43940317
5 changed files with 35 additions and 17 deletions
+2 -1
View File
@@ -25,11 +25,12 @@ From a git checkout:
| --- | --- | --- |
| `~/.zshenv` | Always-on: Homebrew, `~/.local/bin`, source `local.zsh` | Overwritten |
| `~/.zshrc` | Interactive: omz, plugins, aliases, fzf, zoxide | Overwritten |
| `~/.zprofile` | Login placeholder (prefer `local.zsh` for machine hooks) | Overwritten |
| `~/.config/zsh/local.zsh` | Machine-local overrides (every zsh, including agents) | **Never overwritten** |
| `~/.config/zshrc/*.zsh` | Personal/tool overlays before oh-my-zsh | Left alone |
| `~/.local/bin/` | User tools + shims (e.g. `grok``~/.grok/bin/grok`) | Left alone |
easyzsh does **not** manage `~/.zprofile`. Put machine/login hooks in `local.zsh`.
Do **not** put `~/.grok/bin` on PATH wholesale.
```bash