Only use arrows to search history in bash.

This fixes the problem that occurs when trying
use the arrows in irb.