diff options
Diffstat (limited to 'commands/cd.go')
-rw-r--r-- | commands/cd.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/cd.go b/commands/cd.go index cd206c3c..1d71882f 100644 --- a/commands/cd.go +++ b/commands/cd.go @@ -15,7 +15,11 @@ type ChangeDirectory struct { } func init() { - register(ChangeDirectory{}) + Register(ChangeDirectory{}) +} + +func (ChangeDirectory) Context() CommandContext { + return GLOBAL } func (ChangeDirectory) Aliases() []string { |