From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1220 invoked by alias); 30 Oct 2013 06:19:38 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18073 Received: (qmail 26376 invoked from network); 30 Oct 2013 06:19:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131029231921.ZM7202@torch.brasslantern.com> Date: Tue, 29 Oct 2013 23:19:21 -0700 In-reply-to: Comments: In reply to Jesse Hathaway "Re: Duplicating TRANSIENT_RPROMPT for left PROPMT?" (Oct 29, 1:11pm) References: <131023064759.ZM9762@torch.brasslantern.com> <131025102311.ZM9171@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: ZSH Users Mailing List Subject: Re: Duplicating TRANSIENT_RPROMPT for left PROPMT? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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?