init script: remove trailing slash from $ZSH_CACHE_DIR

This commit is contained in:
Marc Cornellà 2016-08-25 02:05:25 +02:00
parent 051a2ee2b8
commit d8b03f3f95

View file

@ -22,7 +22,7 @@ fi
# 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="$ZSH/cache"
fi fi