93b557e291ba60286bcd49f5d3e4ac61730b3f7c

Author
Marc Cornellà <hello@mcornella.com>
Committer
Marc Cornellà <hello@mcornella.com>
Date

Message

style(core): make alternative cache directory equivalent to Arch Linux package

The oh-my-zsh-git package sets the cache directory to `$HOME/.cache/oh-my-zsh`, so
Oh My Zsh will be compatible with it.

Diff

 1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
 2index cea466100ee4cbc83cb82973aa939b4736e09c19..83c8f805741bf39b8716a749977f1de24adeed97 100644
 3--- a/oh-my-zsh.sh
 4+++ b/oh-my-zsh.sh
 5@@ -9,7 +9,7 @@ fi
 6 
 7 # Make sure $ZSH_CACHE_DIR is writable, otherwise use a directory in $HOME
 8 if [[ ! -w "$ZSH_CACHE_DIR" ]]; then
 9-  ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/ohmyzsh"
10+  ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/oh-my-zsh"
11 fi
12 
13 # Create cache and completions dir and add to $fpath