From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23673 invoked from network); 13 May 2005 17:42:40 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 May 2005 17:42:40 -0000 Received: (qmail 61445 invoked from network); 13 May 2005 17:42:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 May 2005 17:42:33 -0000 Received: (qmail 1784 invoked by alias); 13 May 2005 17:42:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8827 Received: (qmail 1774 invoked from network); 13 May 2005 17:42:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 May 2005 17:42:24 -0000 Received: (qmail 60328 invoked from network); 13 May 2005 17:42:24 -0000 Received: from sodans.usata.org (61.211.239.46) by a.mx.sunsite.dk with SMTP; 13 May 2005 17:42:19 -0000 Received: from [192.168.1.12] (ZQ222114.ppp.dion.ne.jp [222.13.222.114]) by sodans.usata.org (Postfix) with ESMTP id 1ABE5D446; Sat, 14 May 2005 02:42:18 +0900 (JST) In-Reply-To: <7b8af038c3699b3dc88c7212781bffe9@chemistry.ucsc.edu> References: <7b8af038c3699b3dc88c7212781bffe9@chemistry.ucsc.edu> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <99f48182176da7821de484c3b229c08d@h8.dion.ne.jp> Content-Transfer-Encoding: 7bit Cc: zsh-users@sunsite.dk From: Motoi Washida Subject: Re: _mac_applications patch for Mac OS X 10.4 Date: Sat, 14 May 2005 02:42:17 +0900 To: William Scott X-Mailer: Apple Mail (2.622) 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 Bill, On 2005/05/12, at 3:32, William Scott wrote: > I wrote an augmented open function and hacked an _open completion for > it based on Motoi's version. The open function and its dependencies > are here: > > http://www.chemistry.ucsc.edu/%7Ewgscott/mystuff/zsh_tree.html > > This gives open a few extra (non-apple) arguments, like open -p to > open preference panes, open -w to open widgets, open -x to open x11 > apps, and so forth. I checked your zsh-templates Fink package some time ago. I think your extensions are very useful, but some scripts seem to be written by copying and modifying files from original zsh distribution. It is not efficient and I hope you can write your scripts by just calling original functions, although I've not looked at your code well and have no idea about that for now. :( > Also I hacked the _fink completion function and made a function fink > (same page) that updates the cache after an installation, update, and > so on. > > Please feel free to incorporate and/or improve any of these. I wrote > them to learn shell scripting so they are unlikely to be works of art. -- Motoi Washida