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