about summary refs log tree commit diff stats
path: root/commands/pwd.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/pwd.go')
-rw-r--r--commands/pwd.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/pwd.go b/commands/pwd.go
index fc9a411..d3f0e0c 100644
--- a/commands/pwd.go
+++ b/commands/pwd.go
@@ -3,6 +3,7 @@ package commands
 import (
 	"errors"
 	"os"
+	"time"
 
 	"git.sr.ht/~sircmpwn/aerc/widgets"
 )
@@ -29,6 +30,6 @@ func (PrintWorkDir) Execute(aerc *widgets.Aerc, args []string) error {
 	if err != nil {
 		return err
 	}
-	aerc.PushStatus(pwd)
+	aerc.PushStatus(pwd, 10*time.Second)
 	return nil
 }