Improve readline configuration