I'm looking for a setting that will make it so that when i hit the up arrow, zsh shows commands i have recently edited. The catch is, i only want unique commands. Currently, if i type
echo "hello world" 50 times, i have to press up arrow 50 times to get the command i used before typing the echo command. This is annoying to say the least.
Any thoughts on what setting i need to enable/disable?