I switched to Catalina and enabled ZSH now my home/end key do not work in terminal I switched to ZSH from BASH as per the upgrade in Catalina and all is well except my home/end keys no longer work.  This can be really annoying trying to move my cursor over super far to the left instead of a single home  click.

Any idea if they just changed the key you use to "go to start of command" instead of home? Or is there a bug?
The other answers didn't work for me when connecting over SSH to the Mac. I had to add the following lines to my ~/.zshrc to get Home and End to work:
bindkey &quot;^[[H&quot; beginning-of-line
bindkey &quot;^[[F&quot; end-of-line