3 ms·
> you can often get simple command line editing and completion in tools like psql in a bash-like environment, just by having a .inputrc file in your home direct
by euroclydon 12y ago
> you can often get simple command line editing and completion in tools like psql in a bash-like environment, just by having a .inputrc file in your home directory.
I'm genuinely confused by this. Why do you need to .inputrc file? Doesn't readline default to EMACS style command shortcuts? And isn't TAB the EMACS (and near universal) key for auto-complete?
- a3n 12y agoIf you like the default behavior, then you don't need .inputrc. If you want vi command line edit keybindings, then you do. Or if you like emacs but you want to customize, then you need a .inputrc.