Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: funced?
- X-seq: zsh-users 8654
- From: Christian Taylor <cht@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: funced?
- Date: Sat, 2 Apr 2005 18:04:36 +0200
- In-reply-to: <20050402153444.GC6257@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050402153444.GC6257@xxxxxxx>
> I really like zsh's feature to *edit* a variable with vared. Recently
> I came across a situation where I needed to edit a function. After
> STFM and TFW I still didn't know how to do that, so I edited the
> function in my zshrc and reloaded the file whenever I made a change.
>
> Now I'm curious if there already is such a builtin "funcedit" or so.
> Is it even *possible* to edit a function in realtime?
I use zed for this. Just put
autoload -U zed
in your .zshrc, then you can use "zed <file>" to edit small files and
"zed -f <function>" to edit functions in realtime.
Christian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author