When I do the "Clear scrollback & reset" command in Konsole, while using ZSH (with Oh-My-Zsh), the latter loses ability to search backward in history using up arrow key.
I.e. when I print a prefix for desired command in prompt the up-key usually shows the last command with this prefix. But after reset it simply shows the previous command with no regard to the prefix I entered.
Simple example:
- ➜ ~ type prefix_ Up
- ➜ ~ prefix_command (good)
- ➜ ~ just_last_command (bad)
How to fix this?