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