diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-09-15 20:45:26 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-09-15 20:45:26 +0200 |
commit | 93b557e291ba60286bcd49f5d3e4ac61730b3f7c (patch) | |
tree | 0a24e779c72ac439b66edea2499a538a95f8152c /oh-my-zsh.sh | |
parent | 8784e88552ad7f6f6a9c149a739474e0b168a840 (diff) | |
download | zsh-93b557e291ba60286bcd49f5d3e4ac61730b3f7c.tar.gz zsh-93b557e291ba60286bcd49f5d3e4ac61730b3f7c.tar.bz2 zsh-93b557e291ba60286bcd49f5d3e4ac61730b3f7c.zip |
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.
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index cea466100..83c8f8057 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -9,7 +9,7 @@ fi # Make sure $ZSH_CACHE_DIR is writable, otherwise use a directory in $HOME if [[ ! -w "$ZSH_CACHE_DIR" ]]; then - ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/ohmyzsh" + ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/oh-my-zsh" fi # Create cache and completions dir and add to $fpath |