Save/Load Shell Mode History

Saves to ~/.gitlab_shell_history, and loads the history back when a new shell is started.