zsh/.zshenv
Danielle McLean 8273e0ce15 Migrate zsh config to XDG base dir location
.zshenv still needs to live in ~ for bootstrapping, but everything else
is now squirrelled away in ~/.config/zsh instead.

Note that zplug still lives in ~/.zplug - it should be relocated too but
hasn't been yet.
2016-10-06 09:21:16 +11:00

5 lines
203 B
Bash

: ${XDG_CONFIG_HOME:=~/.config} ${XDG_CACHE_HOME:=~/.cache} ${XDG_DATA_HOME:=~/.local/share}
export XDG_CONFIG_HOME XDG_CACHE_HOME XDG_DATA_HOME
: ${ZDOTDIR:=$XDG_CONFIG_HOME/zsh}
source $ZDOTDIR/zshenv