News for hackers. Stuff that matters.
Re:Show HN: Z shell configuration, zsh startup files, when t... by opk on Thursday October 17, 2019 @05:02AM (#21280129)
For zsh, you'd be better off handling functions via the function autoloading mechanism rather than defining them all from .zshenv. It is common to create a directory named ~/.zfunc (or similar), add that to $fpath and autoload the contents. This is rather more efficient than predefining them all as you would in bash.

That said, looking at your functions, a function which just runs rsync with a bunch of options and "$@" should either be done via an alias (which preserves zsh rsync completion) or as an rsync alias in ~/.popt.

Re:Show HN: Z shell configuration, zsh startup files, when t... by jph on Thursday October 17, 2019 @05:11AM (#21280182)
Excellent, thank you for the constructive advice! I'll start in on it.
Re:Show HN: Z shell configuration, zsh startup files, when t... by bloopernova on Thursday October 17, 2019 @08:17AM (#21281190)
That's good advice, thank you.