zsh-workers
 help / color / mirror / code / Atom feed
* Re: Bug#433828: zsh: make a cache in $HOME during aptitude completion
       [not found] <20070719184304.19242.23677.reportbug@localhost>
@ 2007-07-20  9:23 ` Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2007-07-20  9:23 UTC (permalink / raw)
  To: zsh-workers; +Cc: Pierre Raimbault, 433828

On Thu, Jul 19, 2007 at 08:43:04PM +0200, Pierre Raimbault wrote:
> During the aptitude completion, zsh makes a cache (so files and subsequent
> directories) in $HOME/var/cache/$HOST/, for example :
> 
> -=[morgan@PennArBed]=(~)>tree ~/var
> /home/morgan/var
> `-- cache
>     `-- PennArBed
>         |-- DEBS_avail
>         `-- DEBS_installed
> 
> 2 directories, 2 files
> 
> I suppose it should be in /var/cache/$HOST/.

Erm, presumably you have something like
zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path ~/var/cache/$HOST
set, so there's little reason for it to appear in /var .

You already have the ability to change cache-path for certain contexts,
so you could have Debian packages cached into /var/cache/$HOST if you
wanted, though if the purpose of that is to share the caches between
users, I think this could subject you to problems concerning
file ownership/permissions, locking, differing cache policies, and
whatnot, or maybe these aren't actual problems in practice.

Maybe someone else on the list is doing something similar or has
additional thoughts.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-20  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20070719184304.19242.23677.reportbug@localhost>
2007-07-20  9:23 ` Bug#433828: zsh: make a cache in $HOME during aptitude completion Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).