2019-12-08 20:59:16 -08:00
|
|
|
export ZGEN_DIR="$XDG_CACHE_HOME/zgen"
|
|
|
|
export ZGEN_SOURCE="$ZGEN_DIR/zgen.zsh"
|
2019-12-08 23:56:13 -08:00
|
|
|
if [[ ! -d "$ZGEN_DIR" ]]; then
|
2019-12-08 20:59:16 -08:00
|
|
|
git clone https://github.com/tarjoilija/zgen "$ZGEN_DIR"
|
|
|
|
fi
|
|
|
|
|
2019-12-08 14:02:41 -08:00
|
|
|
for dir in $XDG_CONFIG_HOME/*/bin(N); do
|
|
|
|
export PATH="$dir:$PATH"
|
|
|
|
done
|
|
|
|
|
2019-12-08 20:56:58 -08:00
|
|
|
for file in $XDG_CONFIG_HOME/zsh/rc.d/env.*.zsh(N); do
|
2019-08-06 10:56:54 -07:00
|
|
|
source $file
|
|
|
|
done
|
|
|
|
|
2019-12-08 16:27:59 -08:00
|
|
|
# If you have host-local configuration, this is where you'd put it
|
|
|
|
[ -f ~/.config/zsh/env ] && source ~/.config/zsh/env
|