zsh ctrl p same behavior as up arrow
By default Ctrl-P just jump back to the history while up arrow behave a little bit smarter.
For example if you have history like this
Normaly if you type $ ssh
and Ctrl-P
afterwares, it will give you grep
not ssh b.com
to change this behavior, you can put this in your .zshrc
Last updated