Rework keybinding support for ZSH to be more compatible

Also add alt-left/right support for OS X