On 16/12/14 12:41, Stefano wrote: > On Tue, 16 Dec 2014 11:29:17 +0000 > TH wrote: > >> On 16/12/14 11:24, Carsten Haitzler (The Rasterman) wrote: >>> On Tue, 16 Dec 2014 10:18:06 +0000 Stefano <pietran...@gmail.com> said: >>> >>> >>> i use zsh... and my title changes in the tabs... in fact i have it set so >>> every time my prompt appears it changes the title.... it works for me >>> here... >>> >> >> Same, but I had to set PROMPT_COMMAND to output the right escapes... >> > > Thanks for the information. > > I have tried with both my own prompt (which uses prezto) and the system > default > zshrc (attached) without success though. Still, when I call bash, the tab > title > is populated. > > I have noticed that I do not have a PROMPT_COMMAND variable set, what would be > the best way to do that?
I have this: case ${TERM} in xterm*|rxvt*|Eterm|aterm|kterm|gnome*|screen) PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOST}" "${PWD/#$HOME/~}"' ;; esac Not sure if it's the right way of doing things, but this works for me. -- Tom. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users