summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index afd7cb1..ca606c0 100644
--- a/main.go
+++ b/main.go
@@ -35,7 +35,8 @@ func main() {
me.sh.GoodExit("do what?")
}
- setTitle("wit %s" + me.sh.Cmd)
+ pwd, _ := os.Getwd()
+ setTitle(log.Sprintf("wit %s %s", me.sh.Cmd, pwd))
// Standard subcommand handling starts here
var s string