Move all environment variables that do not relate directly to zsh but (in most cases) enforce the XDG Base Directory specification to zprofile. This way they are just exported once on login and not every time the shell starts again. Move the lines in zshenv that are not directly responsible for moving the zsh files into $XDG_CONFIG_HOME to their own zshenv there.
5 lines
119 B
Bash
5 lines
119 B
Bash
setopt NO_GLOBAL_RCS
|
|
|
|
# Has to be exported for every pts again so we cannot but this in zprofile
|
|
export GPG_TTY="$TTY"
|