refactor(shell): collapse managed tree back into stubs

Drop ~/.config/zsh/{env,interactive,login} modules. PATH and local.zsh
live in .zshenv; interactive UX is a single .zshrc again. Deploy only
installs the three stubs and removes obsolete trees/examples.
This commit is contained in:
Jeffrey
2026-08-06 14:46:56 +08:00
parent 7f80bb66e1
commit e5e2801ce8
12 changed files with 225 additions and 379 deletions
+3 -11
View File
@@ -1,11 +1,3 @@
# easyzsh stub: login shells only. Not the PATH source of truth (see env/00-path.zsh).
# Machine-local overrides live in ~/.config/zsh/local.zsh (loaded from .zshenv).
EASYZSH_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
if [[ -d "$EASYZSH_HOME/login" ]]; then
for _easyzsh_f in "$EASYZSH_HOME/login"/*.zsh(N); do
# shellcheck disable=SC1090
. "$_easyzsh_f"
done
unset _easyzsh_f
fi
# Login shell hook. easyzsh keeps PATH and machine-local env in ~/.zshenv
# (via ~/.config/zsh/local.zsh). Leave this file empty unless a tool insists
# on writing login-only hooks here — prefer moving those into local.zsh.