get csi to use readline by default and keep a history