def complete_alias(text):
 global rline_mpstate
 return rline_mpstate.aliases.keys()

def complete_alias ( text ) : global rline_mpstate return rline_mpstate . aliases . keys ( )
return list of aliases .