about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/Utility/_retrieve_cache2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8938233b0..76868a09a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-07-28  Peter Stephenson  <pws@csr.com>
 
+	* 20204: Motoi Washida: Completion/Base/Utils/_retrieve_cache:
+	typo in definition of _cache_dir.
+
 	* 20200: Completion/Unix/Command/_kfmclient,
 	Completion/Unix/Type/_mime_types: fix some points made by Oliver
 	to tidy up.  Also unposted: don't let _kfmclient drop through
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\!"