aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4e0e4a4d..0f897bd0 100644
--- a/main.go
+++ b/main.go
@@ -71,7 +71,7 @@ func expandAbbreviations(cmd []string, sets []*commands.Commands) []string {
if len(cmd) == 0 {
return cmd
}
- name := cmd[0]
+ name := strings.TrimLeft(cmd[0], ":")
candidate := ""
for _, set := range sets {
if set.ByName(name) != nil {