summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-09-15 20:45:26 +0200
committerMarc Cornellà <hello@mcornella.com>2021-09-15 20:45:26 +0200
commit93b557e291ba60286bcd49f5d3e4ac61730b3f7c (patch)
tree0a24e779c72ac439b66edea2499a538a95f8152c /oh-my-zsh.sh
parent8784e88552ad7f6f6a9c149a739474e0b168a840 (diff)
downloadzsh-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.sh2
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