I understand that the default shell was changed to
How do I restore this functionality without switching to another shell?
sh in recent versions of FreeBSD. For a while during the early days of 14.0, the behavior of the "UP" key used to take me to the most recent command based on what I've typed so far. For example, if I type in 'ec', pressing "UP" would show me anything that started with "ec", like "echo". This is incredibly convenient, more than the CTRL+R shortcut which I find rather unpleasant to use. Sometime near the release of 14.0 this behavior changed. Pressing the "UP" key shows the last command in history regardless of what I have typed in.How do I restore this functionality without switching to another shell?