Is it possible when I press Ctrl+r and after this, for example, press the letter a, then using the up and down arrow key to search only the commands in the history that start with a? Or if I type ssh and then use the arrow keys to search commands that start with ssh.
Is there a script that can implement this?