shorten alias file, collapsing of flags