aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-05-20 08:48:23 +0800
committerReto Brunner <reto@labrat.space>2020-05-21 18:11:47 +0200
commita7986f5706a9ee93ab084331effcb7136b4ae50e (patch)
tree2c221a30ec2e4060eec6b0623aec6ae4fcf14f7b /commands
parent2e7f15b6982fbddfd8a0a2d04542d9041299a7f4 (diff)
downloadaerc-a7986f5706a9ee93ab084331effcb7136b4ae50e.tar.gz
Fix typos
Diffstat (limited to 'commands')
-rw-r--r--commands/msg/mark.go2
-rw-r--r--commands/msg/read.go2
-rw-r--r--commands/util.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/commands/msg/mark.go b/commands/msg/mark.go
index 6738a5e0..3955f4a1 100644
--- a/commands/msg/mark.go
+++ b/commands/msg/mark.go
@@ -77,7 +77,7 @@ func (Mark) Execute(aerc *widgets.Aerc, args []string) error {
case "unmark":
if visual {
- return fmt.Errorf("visual mode not suported for this command")
+ return fmt.Errorf("visual mode not supported for this command")
}
if all && toggle {
diff --git a/commands/msg/read.go b/commands/msg/read.go
index dcb96575..1e264c27 100644
--- a/commands/msg/read.go
+++ b/commands/msg/read.go
@@ -51,7 +51,7 @@ func (Read) Execute(aerc *widgets.Aerc, args []string) error {
}
if toggle {
- // ignore commmand given, simply toggle all the read states
+ // ignore command given, simply toggle all the read states
return submitToggle(aerc, store, h)
}
msgUids, err := h.markedOrSelectedUids()
diff --git a/commands/util.go b/commands/util.go
index e3395fdd..fdf20bda 100644
--- a/commands/util.go
+++ b/commands/util.go
@@ -17,7 +17,7 @@ import (
"github.com/mitchellh/go-homedir"
)
-// QuickTerm is an ephemeral terminal for running a single command and quiting.
+// QuickTerm is an ephemeral terminal for running a single command and quitting.
func QuickTerm(aerc *widgets.Aerc, args []string, stdin io.Reader) (*widgets.Terminal, error) {
cmd := exec.Command(args[0], args[1:]...)
pipe, err := cmd.StdinPipe()