Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: the konsole title bar



Andrey Borzenkov wrote:
> precmd () {
>         print -Pn "\e]0;\a"
>         dcop $KONSOLE_DCOP_SESSION renameSession "$(print -nP -u1 '%n@%m:
> %$__prompt_dir_len<...<%~')"
> }
> 
> where __prompt_dir_len is computed somewhere else. The first line ensures
> any existing window titile is cleared. May be you have something else that
> changes title after pecmd is run?

It works. I had made a mistake at my first attept 

thank you 
--
Pol




Messages sorted by: Reverse Date, Date, Thread, Author