Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: the konsole title bar
- X-seq: zsh-users 11686
- From: pol <linux_milano@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: the konsole title bar
- Date: Sun, 29 Jul 2007 10:33:05 +0200
- Mail-copies-to: linux_milano@xxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <f8fj85$9ud$1@xxxxxxxxxxxxx> <38952.66.167.127.80.1185649219.squirrel@xxxxxxxxxxxxxxxxx> <200707290051.25148.paolo.m.pumilia.gnarini@xxxxxxxxx> <200707291033.54644.arvidjaar@xxxxxxxxxx>
- Reply-to: linux_milano@xxxxxxxx
- Sender: news <news@xxxxxxxxxxxxx>
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