[AESH-78]
aliases will now be writte to file when aesh exits