1 |
On 2012.03.20 at 12:09 -0500, Paul Hartman wrote: |
2 |
> On Tue, Mar 20, 2012 at 11:05 AM, Markus Trippelsdorf |
3 |
> <markus@××××××××××××.de> wrote: |
4 |
> > On 2012.03.20 at 10:14 -0500, Paul Hartman wrote: |
5 |
> >> Hi, |
6 |
> >> |
7 |
> >> Following a recent eix version update, after running eix-sync it |
8 |
> >> leaves the session name on my screen status bar like: |
9 |
> >> |
10 |
> >> $eix-sync: Finished |
11 |
> >> |
12 |
> >> does anyone know anything about that? |
13 |
> >> |
14 |
> >> Is there perhaps something I can add to my shell prompt to make it |
15 |
> >> reset the status bar title after a program exits? |
16 |
> > |
17 |
> > See https://bugs.gentoo.org/show_bug.cgi?id=407473 . |
18 |
> > |
19 |
> > $ echo -n "\033kzsh\033\\" |
20 |
> > will set "zsh" in the status bar. |
21 |
> > |
22 |
> > There is no way to reset the status bar title automatically, because |
23 |
> > there is no way to determine its content before changing it. |
24 |
> |
25 |
> Thanks, that bug is exactly what I'm talking about. |
26 |
> |
27 |
> Unfortunately. the echo command or similar that I've found just echo |
28 |
> the text back to my terminal and don't change the title in the status |
29 |
> bar. I am using bash, not zsh, so maybe the syntax is different or |
30 |
> more likely I've got something set up wrong. :) |
31 |
|
32 |
The following command should work in both shells: |
33 |
|
34 |
$ printf "\033kbash\033\\" |
35 |
|
36 |
-- |
37 |
Markus |