Changed history from appendhistory to inc_append_history with the sharehistory option.

I constantly have multiple terminals open and not being able to arrow up is annoying. Plus it always seemed like some sessions the history was never recorded/somehow lost.