Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How can you re-edit a loaded function?
- X-seq: zsh-users 26575
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh@xxxxxxxxxxxxxx, zsh-users@xxxxxxx
- Subject: Re: How can you re-edit a loaded function?
- Date: Wed, 3 Mar 2021 17:47:45 +0000 (GMT)
- Archived-at: <https://zsh.org/users/26575>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-03/828626415.172632.1614793665318%40mail2.virginmedia.com>
- Importance: Medium
- In-reply-to: <eef54853-68c9-cc93-2eea-885f259f46a6@rayninfo.co.uk>
- List-id: <zsh-users.zsh.org>
- References: <eef54853-68c9-cc93-2eea-885f259f46a6@rayninfo.co.uk>
> On 03 March 2021 at 17:44 zsh@xxxxxxxxxxxxxx wrote:
> I load this function 'f' and many others from .zshrc
>
> > which f
>
> f () { F=$1 ffmpeg -i "$F" -af "volume=2" "loud$F" }
>
>
> But imagine I would like to do an on-the-fly / temporary edit
> but how can i 'get at' the function without either re-editing/reloading
> .zshrc.
autoload -Uz zed
zed -f f
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author