helm/config/zsh/.zshenv

17 lines
444 B
Plaintext
Raw Normal View History

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
for dir in $XDG_CONFIG_HOME/*/bin(N); do
export PATH="$dir:$PATH"
done
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