BTS

Message1950

Author ft
Recipients mika
Date 2009-02-22.18:25:47
Content
Michael Prokop <bts@bts.grml.org>:
> * Frank Terbeck <ft@bewatermyfriend.org> [20090222 19:09]:
> > Michael Prokop <bts@bts.grml.org>:
> > > I usually have >=5 open zsh session inside GNU screen, several of them have 
> > > something like /grml/git/$REPOS as working directory. Having 'zsh' for all of 
> > > them as automatically set GNU screen title is somewhat annyoing. Frank, what do 
> > > you think about setting "$REPOS ($VCS)" as GNU screen title in such a case as 
> > > we now have the rocking vcs_info() feature? :)
> 
> > I think it's a very reasonable feeling especially if you're working in
> > a lot of different repositories, like you do when working on grml.
> > So, I like the idea.
> 
> > I'd say we forget about the vcs name, though.
> > I would favor this format: 'zsh: repo_name'
> 
> > Like that, you still know it's basically zsh running but you also get
> > the repository's name, which is the important point, IMHO.
> 
> Ah, good idea!
> 
> What's the best way to retrieve "repo_name" as fast and simple as
> possible?

Well, that's what vcs_info does already. So, we really don't to do
anything to *retrieve* the information.

Basically, this boils down, to add another format to vcs_info's
configuration to get another $vcs_info_message_N_ variable set up.

Regards, Frank
History
Date User Action Args
2009-02-22 18:25:48ftsetrecipients: + mika
2009-02-22 18:25:48ftlinkissue635 messages
2009-02-22 18:25:47ftcreate