Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Display a function



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