fix readline mess when in --bash mode