That
printf
command doesn't belong in ~/.inputrc
which doesn't understand commands such as that. It should go in ~/.bashrc
or similar shell startup file.