add searching of history based off current cli input via arrow keys up/down