[PATCH v2 1/2] vsh: Introduce wrapper for add_history()