Set larger history size
Append to history on shell exit