`.zshenv` is read for all shells, interactive or not, making it the best place to set variables that always apply. Unfortunately, it cannot be kept in `ZDOTDIR`, since that variable has to be set in that same script. To work around this, the "real" `.zshenv` can source the one in `ZDOTDIR`. |
||
---|---|---|
functions | ||
.gitignore | ||
.zshalias | ||
.zshenv | ||
.zshrc | ||
README |
README
Add these lines to ~/.zshenv in order to use these ZSH configuration files without copying/linking them to the "standard" paths: export ZDOTDIR=${HOME}/.zsh source ${ZDOTDIR}/.zshenv