From: Christian Taylor <cht@chello.at>
To: zsh-users@sunsite.dk
Subject: Re: funced?
Date: Sat, 2 Apr 2005 18:04:36 +0200 [thread overview]
Message-ID: <200504021804.36830.cht@chello.at> (raw)
In-Reply-To: <20050402153444.GC6257@cvmx.de>
> 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
prev parent reply other threads:[~2005-04-02 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-02 15:34 funced? Julius Plenz
2005-04-02 15:47 ` funced? Andrey Borzenkov
2005-04-02 16:04 ` Christian Taylor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504021804.36830.cht@chello.at \
--to=cht@chello.at \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).