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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user