[bashrc] history fixes

* allow clearing and reloading when switching back to default
* initialize history files when needed, otherwise it doesn't work