Files
easyzsh/.zshrc
T
Jeffrey caac9235f6 fix(shell): use single ~/.config/zsh/local.zsh for machine local
Replace the local/ directory of split env/login/interactive files with
one always-on local.zsh sourced from .zshenv. Deploy migrates old
fragments and never overwrites local.zsh.
2026-08-06 14:41:31 +08:00

13 lines
499 B
Bash

# easyzsh stub: interactive shells only. Keep it thin; logic lives under ~/.config/zsh/.
# Personal interactive overlays: ~/.config/zshrc/*.zsh (before oh-my-zsh).
# Machine-local overrides: ~/.config/zsh/local.zsh (loaded from .zshenv for every zsh).
EASYZSH_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
if [[ -d "$EASYZSH_HOME/interactive" ]]; then
for _easyzsh_f in "$EASYZSH_HOME/interactive"/*.zsh(N); do
# shellcheck disable=SC1090
source "$_easyzsh_f"
done
unset _easyzsh_f
fi