Modify prompt and history settings

- ignore dup history