Files
easyzsh/.zprofile
T
Jeffrey f8dcc29a2f refactor(shell): thin stubs with managed ~/.config/zsh tree
Split always-on PATH/env, login hooks, and interactive UX into a
managed tree under ~/.config/zsh, with never-overwrite local/ hooks.
Agents and interactive shells share one PATH owner; deploy.sh applies
the layout safely across machines.
2026-08-06 14:36:08 +08:00

17 lines
517 B
Bash

# easyzsh stub: login shells only. Not the PATH source of truth (see env/00-path.zsh).
# Put OS/vendor login hooks in ~/.config/zsh/local/login.local.zsh.
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
if [[ -f "$EASYZSH_HOME/local/login.local.zsh" ]]; then
# shellcheck disable=SC1090
. "$EASYZSH_HOME/local/login.local.zsh"
fi