Caption to show `pwd` instead of shell?

David Woodfall <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <20130807214910.GE32264@Blackswan>
I'm using this caption:

caption string "%{= 9w}%-w%{+b w}%n-%f %t%{-}%+w%{+b w}"

What I'd like to do is change each listed window to show the pwd
instead of shell. I'm using zsh.

I can't see any way of doing this except to update it every time a
command is run.

Is there a way to do this at all?

D.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.