List ZSH_CACHE_DIR in template .zshrc

List ZSH_CACHE_DIR in the default .zshrc

Many users like to set cache directories to reside in ~/.cache (or
$XDG_CACHE_HOME).

Some distributions of oh-my-zsh also need to modify $ZSH_CACHE_DIR since
$ZSH may be a system directory (and not user-writable).

It seems fair to list it alongside other similar variables like
$ZSH_CUSTOM to make it more accessible to users and distributers.
This commit is contained in:
Matt Sturgeon 2017-05-05 11:29:44 +01:00
parent a12505e6e8
commit d9d7625fac

View File

@ -47,6 +47,9 @@ ZSH_THEME="robbyrussell"
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder # ZSH_CUSTOM=/path/to/new-custom-folder
# Would you like to use different cache directory? (Default is $ZSH/cache)
# ZSH_CACHE_DIR=/path/to/new-cache-directory
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)