Hi,

On Wed, Aug 07, 2013 at 10:49:10PM +0100, David Woodfall wrote:
> 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.

I think that's how it works. I use grml.org's zshrc and it shows many
things in my screen status line (by setting the window name):

* Git branches if I'm in a git repository
* Programs that are currently running in that window

It does not show the current working directory, but I don't think that
should be too difficult.

                Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | a...@deuxchevaux.org  (Mail)
 X   See http://www.asciiribbon.org/              | a...@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to