about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/Utility/_retrieve_cache2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Utility/_retrieve_cache b/Completion/Base/Utility/_retrieve_cache
index 6a82cd48b..43cdd79aa 100644
--- a/Completion/Base/Utility/_retrieve_cache
+++ b/Completion/Base/Utility/_retrieve_cache
@@ -8,7 +8,7 @@ _cache_ident="$1"
 if zstyle -t ":completion:${curcontext}:" use-cache; then
   # Decide which directory to retrieve cache from, and ensure it exists
   zstyle -s ":completion:${curcontext}:" cache-path _cache_dir
-  : ${_cache_dir:=${ZDOTDIR:-HOME}/.zcompcache}
+  : ${_cache_dir:=${ZDOTDIR:-$HOME}/.zcompcache}
   if [[ ! -d "$_cache_dir" ]]; then
     [[ -e "$_cache_dir" ]] &&
       _message "cache-dir ($_cache_dir) isn't a directory\!"