dotfiles/home/.zshenv
Fernando Schauenburg 37f14fc23a zsh: make `~/.zshenv' as small as possible
`~/.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.
2022-10-21 20:16:10 +02:00

3 lines
131 B
Bash

# Just find $ZDOTDIR here, everythng will be configured there.
export ZDOTDIR="${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}"