diff options
Diffstat (limited to 'commands/pwd.go')
-rw-r--r-- | commands/pwd.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/pwd.go b/commands/pwd.go index 9082a469..9b562313 100644 --- a/commands/pwd.go +++ b/commands/pwd.go @@ -18,11 +18,11 @@ func (PrintWorkDir) Aliases() []string { return []string{"pwd"} } -func (PrintWorkDir) Complete(aerc *app.Aerc, args []string) []string { +func (PrintWorkDir) Complete(args []string) []string { return nil } -func (PrintWorkDir) Execute(aerc *app.Aerc, args []string) error { +func (PrintWorkDir) Execute(args []string) error { if len(args) != 1 { return errors.New("Usage: pwd") } @@ -30,6 +30,6 @@ func (PrintWorkDir) Execute(aerc *app.Aerc, args []string) error { if err != nil { return err } - aerc.PushStatus(pwd, 10*time.Second) + app.PushStatus(pwd, 10*time.Second) return nil } |