aboutsummaryrefslogtreecommitdiffstats
path: root/commands/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/exec.go')
-rw-r--r--commands/exec.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/exec.go b/commands/exec.go
index 2a3ed5f5..874b2714 100644
--- a/commands/exec.go
+++ b/commands/exec.go
@@ -15,7 +15,11 @@ type ExecCmd struct {
}
func init() {
- register(ExecCmd{})
+ Register(ExecCmd{})
+}
+
+func (ExecCmd) Context() CommandContext {
+ return GLOBAL
}
func (ExecCmd) Aliases() []string {