bash history based on current input