mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] change cache directory
This commit is contained in:
parent
487733b264
commit
5750c11ce6
2 changed files with 5 additions and 9 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -1,10 +1,3 @@
|
|||
/zsh/custom
|
||||
/zsh/cache
|
||||
*.pyc
|
||||
|
||||
/ansible/hosts
|
||||
/ansible/*.retry
|
||||
|
||||
/smth
|
||||
/.vscode
|
||||
/hammerspoon/Spoons
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue