zsh-users
 help / color / mirror / code / Atom feed
* How can you re-edit a loaded function?
@ 2021-03-03 17:44 zsh
  2021-03-03 17:47 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: zsh @ 2021-03-03 17:44 UTC (permalink / raw)
  To: zsh-users

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-03 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 17:44 How can you re-edit a loaded function? zsh
2021-03-03 17:47 ` Peter Stephenson

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).