Expand the search if only one entry is returned.
With bash auto completion if only one entry is returned it is assumed to be the final completion. This make sense if it is a full channel name. However if there is a series of one or more segments of the name that are common through all the channels in question, you need to return information that includes the next block that is different. This is a first reworking to handling this case.
Showing with 24 additions and 8 deletions