I'm using the
sshrc package and its eponymous command to make the remote machine's shell source the contents of my local .sshrc file upon SSH login.
However, I really like zsh's host autocompletion (based on the
Aliasing ssh to sshrc won't trick zsh (seems like it resolves the alias before loading completion configs).
I have been trying to mess around with zsh's conf, e.g. copying
_sshrc, editing said file and renaming its _ssh() function... no luck.
Would appreciate any pointers as I've got a few thousand hosts in my ssh config file.