On 2012.03.20 at 12:09 -0500, Paul Hartman wrote:
> On Tue, Mar 20, 2012 at 11:05 AM, Markus Trippelsdorf
> <mar...@trippelsdorf.de> wrote:
> > On 2012.03.20 at 10:14 -0500, Paul Hartman wrote:
> >> Hi,
> >>
> >> Following a recent eix version update, after running eix-sync it
> >> leaves the session name on my screen status bar like:
> >>
> >> $eix-sync: Finished
> >>
> >> does anyone know anything about that?
> >>
> >> Is there perhaps something I can add to my shell prompt to make it
> >> reset the status bar title after a program exits?
> >
> > See https://bugs.gentoo.org/show_bug.cgi?id=407473 .
> >
> > $ echo -n "\033kzsh\033\\"
> > will set "zsh" in the status bar.
> >
> > There is no way to reset the status bar title automatically, because
> > there is no way to determine its content before changing it.
> 
> Thanks, that bug is exactly what I'm talking about.
> 
> Unfortunately. the echo command or similar that I've found just echo
> the text back to my terminal and don't change the title in the status
> bar. I am using bash, not zsh, so maybe the syntax is different or
> more likely I've got something set up wrong. :)

The following command should work in both shells:

$ printf "\033kbash\033\\"

-- 
Markus

Reply via email to