From d9d7625fac188c4c95a16c29b8253e8c76e5309f Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 5 May 2017 11:29:44 +0100 Subject: [PATCH] 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. --- templates/zshrc.zsh-template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index af42e5b9..8595acb8 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -47,6 +47,9 @@ ZSH_THEME="robbyrussell" # Would you like to use another custom folder than $ZSH/custom? # 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/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse)