mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Merge 5d3f8bcc9f into c432ca0993
This commit is contained in:
commit
5090a8958f
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ unset -f omz_f
|
||||||
# Set ZSH_CACHE_DIR to the path where cache files should be created
|
# Set ZSH_CACHE_DIR to the path where cache files should be created
|
||||||
# or else we will use the default cache/
|
# or else we will use the default cache/
|
||||||
if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
||||||
ZSH_CACHE_DIR="$ZSH/cache"
|
ZSH_CACHE_DIR=${XDG_CACHE_HOME:-"$ZSH/cache"}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure $ZSH_CACHE_DIR is writable, otherwise use a directory in $HOME
|
# Make sure $ZSH_CACHE_DIR is writable, otherwise use a directory in $HOME
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue