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