aboutsummaryrefslogtreecommitdiff
path: root/commands/choose.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/choose.go')
-rw-r--r--commands/choose.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/choose.go b/commands/choose.go
index 3b3af794..c18f0292 100644
--- a/commands/choose.go
+++ b/commands/choose.go
@@ -2,7 +2,6 @@ package commands
import (
"fmt"
- "strings"
"git.sr.ht/~rjarry/aerc/widgets"
)
@@ -34,7 +33,7 @@ func (Choose) Execute(aerc *widgets.Aerc, args []string) error {
choices = append(choices, widgets.Choice{
Key: args[i+2],
Text: args[i+3],
- Command: strings.Split(args[i+4], " "),
+ Command: args[i+4],
})
}