Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Display a function
- X-seq: zsh-users 6910
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Display a function
- Date: Wed, 17 Dec 2003 11:11:06 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <f4a0uvcslnjo73kc469refd63oseg38tri@xxxxxxx> <20031217100232.GA2091@xxxxxxxxx> <l9b0uvoi6eaierf2nqvnf8ge7j91a91642@xxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Wed, 17 Dec 2003 10:19:30 +0000, zzapper <david@xxxxxxxxxx> wrote:
>On Wed, 17 Dec 2003 11:02:32 +0100, Andy Spiegl <zsh.Andy@xxxxxxxxx>
>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
>
Sorry got confused between functions & scripts
which functionname works just fine.
cat $(which lth) worked for a script
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author