[AESH-290] Ctrl-R searches in the forge shell have some issues (editing ...

...and history)