From: Yuri D'Elia <wavexx@users.sourceforge.net>
To: zsh-users@zsh.org
Subject: Re: Problems with precmd/urxvt
Date: Tue, 04 Dec 2012 15:10:52 +0100 [thread overview]
Message-ID: <k9l09c$rio$1@ger.gmane.org> (raw)
In-Reply-To: <121203074835.ZM20740@torch.brasslantern.com>
On 12/03/2012 04:48 PM, Bart Schaefer wrote:
> I don't have the error, but this probably means urxvt is starting up
> the shell before it has the window open and is ready to display.
>
> You could try something like
>
> precmd() { [[ -t 0&& -w 0 ]]&& print -Pn '\e]2;%~\a' }
>
> but that may not help.
Humm, I tried with just "[ -t 0 ] && .." and seems to be enough.
Strangely enough, not only I don't get the error anymore, but the
terminal title also seem to be always correctly set on startup (which is
weird, since I would expect to start the default once in a while).
next prev parent reply other threads:[~2012-12-04 14:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-03 9:20 Yuri D'Elia
2012-12-03 15:48 ` Bart Schaefer
2012-12-04 14:10 ` Yuri D'Elia [this message]
2012-12-04 16:01 ` Bart Schaefer
2012-12-05 14:35 ` Yuri D'Elia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='k9l09c$rio$1@ger.gmane.org' \
--to=wavexx@users.sourceforge.net \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).