Moved the command to write bash_history immediately from bash_history_options to bash_gitprprompt