From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1374 invoked from network); 10 May 2005 20:08:28 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 May 2005 20:08:28 -0000 Received: (qmail 1944 invoked from network); 10 May 2005 20:08:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 May 2005 20:08:22 -0000 Received: (qmail 27707 invoked by alias); 10 May 2005 20:08:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8803 Received: (qmail 27687 invoked from network); 10 May 2005 20:08:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 May 2005 20:08:12 -0000 Received: (qmail 893 invoked from network); 10 May 2005 20:08:12 -0000 Received: from hydrogen.ucsc.edu (128.114.41.29) by a.mx.sunsite.dk with SMTP; 10 May 2005 20:08:04 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by hydrogen.ucsc.edu (8.12.11/8.12.11) with ESMTP id j4AK2FHj018711; Tue, 10 May 2005 13:02:25 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v728) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Wataru Kagawa Reply-To: wgscott@chemistry.ucsc.edu Content-Transfer-Encoding: 7bit From: William Scott Subject: faster completion for "open -a" in Apple OS X 10.4 Date: Tue, 10 May 2005 13:07:48 -0700 To: zsh-users@sunsite.dk X-Mailer: Apple Mail (2.728) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=0.2 required=6.0 tests=AWL,BAYES_00, RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK autolearn=no version=3.0.2 X-Spam-Hits: 0.2 This may be of interest to Apple users: Wataru Kagawa and I came up with a fast completion for "open -a" that makes use of the new metadata feature in Apple OS X v. 10.4 (the unix counterpart of "Spotlight"). This makes it possible to have an almost instant completion without relying on a traditional cache mechanism. I use a very customized version of open and _open, but the essentials of the completion function are here: http://babyurl.com/jNKGLD/_init_open_tiger Bill Scott