From: William Scott <wgscott@chemistry.ucsc.edu>
To: Marco Zunino <zunino_marco@yahoo.com>
Cc: zsh-users@sunsite.dk
Subject: Re: _retrieve_mac_apps bad chache problem
Date: Sat, 11 Jun 2005 21:38:06 -0700 (PDT) [thread overview]
Message-ID: <Pine.OSX.4.58.0506112132130.18774@vanunu.ucsc.edu> (raw)
In-Reply-To: <20050612025130.52740.qmail@web52809.mail.yahoo.com>
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
>
next prev parent reply other threads:[~2005-06-12 4:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-12 2:51 Marco Zunino
2005-06-12 4:38 ` William Scott [this message]
2005-07-03 1:36 ` metadata completion functions for OS X 10.4 William Scott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.OSX.4.58.0506112132130.18774@vanunu.ucsc.edu \
--to=wgscott@chemistry.ucsc.edu \
--cc=zsh-users@sunsite.dk \
--cc=zunino_marco@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).