screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Caption to show `pwd` instead of shell?


From: Axel Beckert
Subject: Re: Caption to show `pwd` instead of shell?
Date: Thu, 8 Aug 2013 10:45:53 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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            | address@hidden  (Mail)
 X   See http://www.asciiribbon.org/              | address@hidden (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]