Browse Source

updated to also add channel names in addition to topics

pull/2/head
David Haukeness 5 years ago
parent
commit
3579f1648d
No known key found for this signature in database
GPG Key ID: A7F1091956853EF9
  1. 1
      main.go

1
main.go

@ -273,6 +273,7 @@ func generateTabCompletionSlice(inputWord string) []string { @@ -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))

Loading…
Cancel
Save