Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

How can you re-edit a loaded function?



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