Flush every bash command to history immediately