From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4126 invoked from network); 17 Dec 2003 10:19:56 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Dec 2003 10:19:56 -0000 Received: (qmail 27196 invoked by alias); 17 Dec 2003 10:19:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6905 Received: (qmail 27184 invoked from network); 17 Dec 2003 10:19:36 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 17 Dec 2003 10:19:36 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 17 Dec 2003 10:19:36 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AWYmG-0006Ij-00 for ; Wed, 17 Dec 2003 11:19:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWYmF-0006Ib-00 for ; Wed, 17 Dec 2003 11:19:35 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AWYmF-0004c9-00 for ; Wed, 17 Dec 2003 11:19:35 +0100 From: zzapper Subject: Re: Display a function Date: Wed, 17 Dec 2003 10:19:30 +0000 Message-ID: References: <20031217100232.GA2091@spiegl.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news On Wed, 17 Dec 2003 11:02:32 +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" > > cat $(which lth) worked just dandy but I don't know how to use functionname and then "expand-last-word" (Thanx for record quick reply!!) zzapper (vim & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips