`~/.zshenv' is executed for _every_ instance of `zsh', so we should limit the work done there to the absolute minimum. For me, that currently means only making sure `$ZDOTDIR' is set so that login (via `.zprofile') and interactive (via `.zshrc') shells can be configured appropriately.
3 lines
131 B
Bash
3 lines
131 B
Bash
# Just find $ZDOTDIR here, everythng will be configured there.
|
|
export ZDOTDIR="${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}"
|
|
|