add inputrc support