diff --git a/.gitignore b/.gitignore index 04ff90a..c3c28ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,3 @@ /zsh/custom -/zsh/cache *.pyc - -/ansible/hosts -/ansible/*.retry - -/smth -/.vscode /hammerspoon/Spoons diff --git a/zsh/plugins.zsh b/zsh/plugins.zsh index 918b6b3..0ab3939 100644 --- a/zsh/plugins.zsh +++ b/zsh/plugins.zsh @@ -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