@b0rk tangentially related: at least some readline sequences (eg Ctrl-A and Ctrl-E for sure) work on OSX not only in the terminal but in Apple-supplied apps which work with text (Notes, TextEdit, Mail, etc) but not /all/ apps; notably Outlook Mail on OSX doesn’t process those sequences. Hugely shocking, I know.