Add utility to save bash history