mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
20204: Motoi Washida: typo in _retrieve_cache
This commit is contained in:
parent
804599a7ce
commit
e31d0b939d
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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\!"
|
||||
|
|
Loading…
Reference in a new issue