From 3579f1648d2f3247dedec3146df6751c96ce8238 Mon Sep 17 00:00:00 2001
From: David Haukeness <david@hauken.us>
Date: Thu, 10 Oct 2019 10:00:54 -0600
Subject: [PATCH] updated to also add channel names in addition to topics

---
 main.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main.go b/main.go
index 293dc3d..337b576 100644
--- a/main.go
+++ b/main.go
@@ -273,6 +273,7 @@ func generateTabCompletionSlice(inputWord string) []string {
         if s.MembersType == keybase.TEAM {
             // its a team so add the topic name as a possible tab completion
             firstSlice = append(firstSlice, s.TopicName)
+            firstSlice = append(firstSlice, s.Name)
         } else {
             // its a user, so clean the name and append the users name as a possible tab completion
             firstSlice = append(firstSlice, cleanChannelName(s.Name))