Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How can you re-edit a loaded function?
- X-seq: zsh-users 26574
- From: zsh@xxxxxxxxxxxxxx
- To: zsh-users@xxxxxxx
- Subject: How can you re-edit a loaded function?
- Date: Wed, 3 Mar 2021 17:44:52 +0000
- Archived-at: <https://zsh.org/users/26574>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-03/eef54853-68c9-cc93-2eea-885f259f46a6%40rayninfo.co.uk>
- List-id: <zsh-users.zsh.org>
Hi
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.
The only way I see is by a clunky copy paste
alias -g CO=' | xclip -in'
which f CO
etc
any suggestions?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author