I would like to know if it's possible to define hook functions as arguments or env var when launching zsh instead of defining it in .zshrc or prompt.
For example ;
zsh -F preexec() { date } -F chpwd() { pwd }
Thanks alot
Asked by Jean Luc
(3 rep)
Aug 21, 2020, 09:44 AM
Last activity: Aug 25, 2020, 12:20 PM
Last activity: Aug 25, 2020, 12:20 PM