some inputrc magic