From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9009 invoked from network); 17 Dec 2003 10:47:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Dec 2003 10:47:07 -0000 Received: (qmail 18028 invoked by alias); 17 Dec 2003 10:46:41 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6907 Received: (qmail 18017 invoked from network); 17 Dec 2003 10:46:40 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 17 Dec 2003 10:46:40 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [212.227.126.201] by sunsite.dk (MessageWall 1.0.8) with SMTP; 17 Dec 2003 10:46:40 -0000 Received: from [172.17.36.7] (helo=erdbeere.use.schlund.de) by mintern0.kundenserver.de with esmtp (Exim 3.35 #1) id 1AWZCS-0001eT-00 for zsh-users@sunsite.dk; Wed, 17 Dec 2003 11:46:40 +0100 Received: from luthien by erdbeere.use.schlund.de with local id 1AWZCH-0000Nh-00 for ; Wed, 17 Dec 2003 11:46:29 +0100 Date: Wed, 17 Dec 2003 11:46:29 +0100 From: Dominik Vogt To: zsh-users@sunsite.dk Subject: Re: Display a function Message-ID: <20031217104629.GA1177@gmx.de> Reply-To: zsh-users@sunsite.dk Mail-Followup-To: zsh-users@sunsite.dk References: <20031217100232.GA2091@spiegl.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031217100232.GA2091@spiegl.de> User-Agent: Mutt/1.3.28i On Wed, Dec 17, 2003 at 11:02:32AM +0100, Andy Spiegl wrote: > > Is it possible to "list" a function in zsh, so that I can check it's > > code??? > Yep: which functionname > > or: functionname and then "expand-last-word" Or use $ typeset -f funcname or type $ functions to display the body of all functions. Ciao Dominik ^_^ ^_^