Move zplug cache and repos directories to ~/.local/zsh/zplug

Instead of keeping them within the dotfiles repo itself.
This commit is contained in:
2020-04-07 00:53:25 +01:00
parent a434e678b9
commit 4c2c4418e1
4 changed files with 2 additions and 4 deletions

2
.gitignore vendored
View File

@@ -8,5 +8,3 @@ bin/boot2docker.iso
bundle/cache/*
private/*
tmux/plugins/*
zsh/zplug/cache/*
zsh/zplug/repos/*

View File

4
zshrc
View File

@@ -15,8 +15,8 @@ fi
# ==============================================================================
ZPLUG_HOME="$DOTZSH/zplug/zplug"
ZPLUG_CACHE_DIR="$DOTZSH/zplug/cache"
ZPLUG_REPOS="$DOTZSH/zplug/repos"
ZPLUG_CACHE_DIR="$HOME/.local/zsh/zplug/cache"
ZPLUG_REPOS="$HOME/.local/zsh/zplug/repos"
source "$ZPLUG_HOME/init.zsh"
alias zp="zplug"