[issue635] zsh: write something like 'name_of_repos (git)' to screen's title

Michael Prokop bts at bts.grml.org
Sun Feb 22 19:13:37 CET 2009


Michael Prokop <mika at grml.org> added the comment:

* Frank Terbeck <ft at bewatermyfriend.org> [20090222 19:09]:
> Michael Prokop <bts at 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?

regards,
-mika-

----------
assignedto: ft
messages: 1947, 1948, 1949
nosy: ft, mika
priority: wish
status: chatting
title: zsh: write something like 'name_of_repos (git)' to screen's title
topic: grml-etc-core

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue635>
_____________________________________


More information about the Bugs-changes mailing list