append to history right away and save command execution time
set history size explicitly