.inputrc from https://coderwall.com/p/oqtj8w