zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: ZSH Users Mailing List <zsh-users@zsh.org>
Subject: Re: Duplicating TRANSIENT_RPROMPT for left PROPMT?
Date: Tue, 29 Oct 2013 23:19:21 -0700	[thread overview]
Message-ID: <131029231921.ZM7202@torch.brasslantern.com> (raw)
In-Reply-To: <CANSNSoWvDfHvRAMFwqZ-4NpyOetLcXupwTayqRgLUUtsyTdH5Q@mail.gmail.com>

On Oct 29,  1:11pm, Jesse Hathaway wrote:
} 
} I tried your solution but it doesn't work for me when I first start up a
} new shell. When I start up a new shell there is no POSTDISPLAY information,
} but when I then change into command mode the prompt appears.
} 
} Does your code work for you when you first startup a shell?

Yes.

Are you sure you got this part?

    zle -N zle-line-init zle-keymap-select

You need to have both the zle-line-init and zle-keymap-select widgets
run the POSTDISPLAY assignment.  The easiest way if you don't already
have zle-line-init doing something else is to just bind them both to
the same function.

Perhaps something else that you're loading is clobbering this setup?
In which case you'll have to figure out a way to merge this into the
other use of zle-line-init that's being loaded later.

Are you missing the POSTDISPLAY only on shell startup, or every time
the first prompt is printed for a new command after the previous one
finishes?


  reply	other threads:[~2013-10-30  6:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22 21:22 Jesse Hathaway
2013-10-23 13:47 ` Bart Schaefer
2013-10-25 15:50   ` Jesse Hathaway
2013-10-25 17:23     ` Bart Schaefer
2013-10-29 18:11       ` Jesse Hathaway
2013-10-30  6:19         ` Bart Schaefer [this message]
2013-10-30 18:01           ` Jesse Hathaway
2013-10-30 18:51             ` Bart Schaefer
2013-10-31 14:07               ` Jesse Hathaway
2013-10-31 15:09                 ` Bart Schaefer
2013-10-31 18:01                   ` Jesse Hathaway
2013-11-01  1:33                     ` Bart Schaefer
2013-11-01 20:10                       ` Jesse Hathaway

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=131029231921.ZM7202@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --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).