Ensure ZSH_CACHE_DIR exists
Create ZSH_CACHE_DIR if it doesn't exist since AFAICT oh-mh-zsh scripts don't check it exists before using it.
This commit is contained in:
parent
291e96dcd0
commit
a12505e6e8
@ -25,6 +25,11 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
||||
ZSH_CACHE_DIR="$ZSH/cache"
|
||||
fi
|
||||
|
||||
# Create the ZSH_CACHE_DIR if it doesn't exist
|
||||
if [[ ! -d $ZSH_CACHE_DIR ]]; then
|
||||
mkdir -p $ZSH_CACHE_DIR
|
||||
fi
|
||||
|
||||
|
||||
# Load all of the config files in ~/oh-my-zsh that end in .zsh
|
||||
# TIP: Add files you don't want in git to .gitignore
|
||||
|
Loading…
Reference in New Issue
Block a user