aboutsummaryrefslogtreecommitdiffstats
path: root/commands/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/commands.go')
-rw-r--r--commands/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/commands.go b/commands/commands.go
index fa8ef287..b617bade 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -113,7 +113,7 @@ func (err NoSuchCommand) Error() string {
// im --> import-mbox
func ExpandAbbreviations(name string) (string, Command, error) {
context := CurrentContext()
- name = strings.TrimLeft(name, ":")
+ name = strings.TrimLeft(name, ": \t")
cmd, found := allCommands[name]
if found && cmd.Context()&context != 0 {