From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15739 invoked from network); 12 Jun 2005 04:38:11 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Jun 2005 04:38:11 -0000 Received: (qmail 62212 invoked from network); 12 Jun 2005 04:38:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Jun 2005 04:38:05 -0000 Received: (qmail 8612 invoked by alias); 12 Jun 2005 04:37:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8986 Received: (qmail 8602 invoked from network); 12 Jun 2005 04:37:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 12 Jun 2005 04:37:56 -0000 Received: (qmail 61094 invoked from network); 12 Jun 2005 04:37:56 -0000 Received: from vanunu.ucsc.edu (128.114.141.22) by a.mx.sunsite.dk with SMTP; 12 Jun 2005 04:37:52 -0000 Received: from localhost (localhost [127.0.0.1]) by vanunu.ucsc.edu (Postfix) with ESMTP id 087475ADF9F; Sat, 11 Jun 2005 21:38:07 -0700 (PDT) Date: Sat, 11 Jun 2005 21:38:06 -0700 (PDT) From: William Scott X-X-Sender: wgscott@vanunu.ucsc.edu To: Marco Zunino Cc: zsh-users@sunsite.dk Subject: Re: _retrieve_mac_apps bad chache problem In-Reply-To: <20050612025130.52740.qmail@web52809.mail.yahoo.com> Message-ID: References: <20050612025130.52740.qmail@web52809.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Hi Marco: In 10.4 you can avoid the cache altogether, as mdfind is sufficiently fast to allow real-time completions for open -a. I did however notice that the very first time there is about a 10 second lag, which raises my blood pressure, so I found running the mdfind command in the background upon shell initialization speeds things up. I implemented this hack in what is doubltess substandard code, but if you want to play with it, _open, an augmented open function, and a few others are here for the taking: http://xanana.ucsc.edu/Library/init/zsh/local-functions/darwin/ HTH, Bill Scott On Sat, 11 Jun 2005, Marco Zunino wrote: > Please Help!!! > > After I reinstalled Mac OS Tiger, when I try to do to > > "open -a " + TAB > > instead of the standard completiotion I get a hugly > series of line like: > > _retrieve_mac_apps:20: permission denied: .DS_Store > _retrieve_mac_apps:20: permission denied: > Finder_Toolbar_Applications.dmg > > This happens only in my main user account and only the > first time I try "open -a" after opening a shell. I > guess that the reason is that zsh try to create a > cache but due to a bad permission it can't, but I can > not guess where to remove this file. > > If you can, please ***HELP*** > > Pax Vobiscum, > > Marco Zunino > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >