[zsh] change cache directory

This commit is contained in:
Dmytro Meleshko 2019-08-27 12:07:51 +03:00
parent 487733b264
commit 5750c11ce6
2 changed files with 5 additions and 9 deletions

7
.gitignore vendored
View File

@ -1,10 +1,3 @@
/zsh/custom
/zsh/cache
*.pyc
/ansible/hosts
/ansible/*.retry
/smth
/.vscode
/hammerspoon/Spoons

View File

@ -1,5 +1,10 @@
#!/usr/bin/env zsh
ZSH_CACHE_DIR="$HOME/.cache/dotfiles"
if [[ ! -d "$ZSH_CACHE_DIR" ]]; then
mkdir -pv "$ZSH_CACHE_DIR"
fi
source "$ZSH_DOTFILES/zplg.zsh"
plugin completions 'zsh-users/zsh-completions'
@ -36,8 +41,6 @@ plugin completions 'zsh-users/zsh-completions'
# Oh-My-Zsh {{{
ZSH_CACHE_DIR="$ZSH_DOTFILES/cache"
# disable automatic updates because OMZ is managed by my plugin manager
DISABLE_AUTO_UPDATE=true