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.
12 lines
398 B
Bash
12 lines
398 B
Bash
# 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
|