Move zplug's home underneath the general zsh cache dir

This commit is contained in:
Danielle McLean 2016-10-17 20:49:26 +11:00
parent 38eb2c7b6f
commit cb3e866d97
No known key found for this signature in database
GPG key ID: CC91589719027E94

View file

@ -1,5 +1,5 @@
#! zsh #! zsh
export ZPLUG_HOME=$XDG_CACHE_HOME/zplug export ZPLUG_HOME=$XDG_CACHE_HOME/zsh/zplug
if [[ ! -f $ZPLUG_HOME/repos/zplug/zplug/init.zsh ]]; then if [[ ! -f $ZPLUG_HOME/repos/zplug/zplug/init.zsh ]]; then
git clone https://github.com/zplug/zplug $ZPLUG_HOME/repos/zplug/zplug git clone https://github.com/zplug/zplug $ZPLUG_HOME/repos/zplug/zplug
fi fi