Here's the Bash commands for this in case anyone is looking for them
bind '"\e[A"':history-search-backward bind '"\e[B"':history-search-forward