There's also SHRALIAS; read about it. SHRALIAS will "guard" any global lists it finds (alias, history, dirhistory, function) so that they continue to exist even when no TCCs are running. New TCCs that use global lists will simply find them ... no need to load anything. When SHRALIAS teminates (as it does on logoff and shutdown) it will save any lists to files in a directory specified by the environment variable SHRALIAS_SAVE_PATH.
I'm a big fan of SHRALIAS. I have a login script which loads the saved files and starts SHRALIAS ... I never think about it again.