dotfiles/.zshenv

13 lines
491 B
Plaintext
Raw Normal View History

2020-06-02 15:59:14 +02:00
## ~/.zshenv - Should contain commands to set the $PATH and other important environment variables
2020-10-11 19:25:48 +02:00
# Set up XDG environment
2020-10-11 20:06:26 +02:00
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=${HOME}/.config}
2020-10-11 20:56:08 +02:00
export XDG_CACHE_HOME=${XDG_CACHE_HOME:=${HOME}/.cache}
export XDG_DATA_HOME=${XDG_DATA_HOME:=${HOME}/.local/share}
2020-10-11 19:25:48 +02:00
2020-06-02 15:59:14 +02:00
# Where to look for zsh config
2020-10-11 19:25:48 +02:00
export ZDOTDIR=${ZDOTDIR:=${XDG_CONFIG_HOME}/zsh}
2020-06-02 15:59:14 +02:00
# Load config files in $ZSH/lib that for stage 1
2020-06-02 15:59:14 +02:00
for config_file ($ZDOTDIR/lib/10-*.zsh) source $config_file