From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9401 invoked from network); 25 May 2004 10:36:48 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 25 May 2004 10:36:48 -0000 Received: (qmail 24459 invoked from network); 25 May 2004 10:36:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 May 2004 10:36:07 -0000 Received: (qmail 28481 invoked by alias); 25 May 2004 10:35:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7470 Received: (qmail 28471 invoked from network); 25 May 2004 10:35:56 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 25 May 2004 10:35:53 -0000 Received: (qmail 23830 invoked from network); 25 May 2004 10:35:53 -0000 Received: from dmz-vsgate4.ldn.ibb.ubs.com (HELO sldn0850xmh.ldn.swissbank.com) (139.149.1.207) by a.mx.sunsite.dk with SMTP; 25 May 2004 10:35:51 -0000 Received: from sldn0850xmh.ldn.swissbank.com (localhost [127.0.0.1]) by sldn0850xmh.ldn.swissbank.com (8.11.7+Sun/8.8.8) with ESMTP id i4PAZMv00402 for ; Tue, 25 May 2004 11:35:22 +0100 (BST) Received: (from smap@localhost) by sldn0850xmh.ldn.swissbank.com (8.11.7+Sun/8.8.8) id i4PAZLM00383 for ; Tue, 25 May 2004 11:35:21 +0100 (BST) Received: from (inside [139.149.41.81]) by sldn0850xmh.ldn.swissbank.com via smap (V2.0b/ubs) id xma000363; Tue, 25 May 2004 11:35:04 +0100 Received: from nldn1264pap.ubsgs.ubsgroup.net (nldn1264pap.ldn.swissbank.com [139.149.147.35]) by sldn0845pmh.ldn.swissbank.com (8.11.7+Sun/8.8.8) with ESMTP id i4PAZ3Z10189 for ; Tue, 25 May 2004 11:35:03 +0100 (BST) From: Suresh.Kannan@ubs.com Received: from NLDNC003PEX1.ubsgs.ubsgroup.net ([139.149.147.29]) by nldn1264pap.ubsgs.ubsgroup.net with Microsoft SMTPSVC(5.0.2195.5329); Tue, 25 May 2004 11:35:01 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: (No) Exported Functions Date: Tue, 25 May 2004 11:34:57 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: (No) Exported Functions Thread-Index: AcRCQ+xi9+bhFRyATSa1UV39Gb/DOA== To: X-OriginalArrivalTime: 25 May 2004 10:35:01.0514 (UTC) FILETIME=[EF1D66A0:01C44243] X-UBS-Disclaimer: Version $Revision: 1.26 $ X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: ** X-Spam-Status: No, hits=2.3 required=6.0 tests=BAYES_90,NO_REAL_NAME autolearn=no version=2.63 X-Spam-Hits: 2.3 Hi, I've read the manuals and googled and as far as I can see, zsh doesn't = appear to support exported functions. Is this true? If not please ignore = the rest of the mail :) Also, going through some old discussions, it appears that some people = feel that the feature itself is of dubious value. However, I find it a = shortcoming in the following situations: 1. In my environment are weird and wonderful functions that do some = useful stuff on a list of files, let's say coolfun() I can't do a=20 $ find . -name '*.blah' | xargs coolfun # coolfun: No such file or = directory 2. I can't invoke=20 :!coolfun %=20 from vim, my favourite editor. Both shortcomings are somewhat rectified by arranging to have coolfun's = definition in $HOME/.zshenv. However, this gets tedious (and possibly = inefficient) when a large number of functions are involved. I tried = doing a $ functions >> ~/.zshenv in my .zshrc as a shortcut but this puts all the autoloaded functions = into the env file causing error messages when completion is first = attempted etc. like: $ cd sss _next_label:comptags:8: no tags registered Does anyone have a better solution / workaround to this problem. Or is = exported functions somewhere in the feature-list ? Thanks, Suresh Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.