mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
ZSH_CACHE_DIR should respect XDG_CACHE_HOME first
This commit is contained in:
parent
6ad6fea52a
commit
5d3f8bcc9f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Set ZSH_CACHE_DIR to the path where cache files should be created
|
||||
# or else we will use the default cache/
|
||||
if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
||||
ZSH_CACHE_DIR="$ZSH/cache"
|
||||
ZSH_CACHE_DIR=${XDG_CACHE_HOME:-"$ZSH/cache"}
|
||||
fi
|
||||
|
||||
# Migrate .zsh-update file to $ZSH_CACHE_DIR
|
||||
|
|
Loading…
Reference in a new issue