aboutsummaryrefslogtreecommitdiffstats
path: root/commands/patch/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/patch/init.go')
-rw-r--r--commands/patch/init.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/patch/init.go b/commands/patch/init.go
index 328fcd9f..de0c6e45 100644
--- a/commands/patch/init.go
+++ b/commands/patch/init.go
@@ -5,6 +5,7 @@ import (
"os"
"path/filepath"
+ "git.sr.ht/~rjarry/aerc/commands"
"git.sr.ht/~rjarry/aerc/lib/pama"
)
@@ -17,6 +18,10 @@ func init() {
register(Init{})
}
+func (Init) Context() commands.CommandContext {
+ return commands.GLOBAL
+}
+
func (Init) Aliases() []string {
return []string{"init"}
}