code: def enable_aliases_autocomplete_interactive(_, **kwargs):
      
      subtree = kwargs.get('subtree', None)
      if not subtree or not hasattr(subtree, 'children'):
          return
  
      for alias, alias_command in filter_aliases(get_alias_table()):
          # Only autocomplete the first word because alias is space-delimited
          if subtree.in_tree(alias_command.split()):
              subtree.add_child(CommandBranch(alias))
docs: Enable aliases autocomplete on interactive mode by injecting aliases in the command tree.