From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11597 invoked by alias); 21 Sep 2014 19:39:23 -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: 19126 Received: (qmail 22057 invoked from network); 21 Sep 2014 19:39:12 -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: <140921123854.ZM1299@torch.brasslantern.com> Date: Sun, 21 Sep 2014 12:38:54 -0700 In-reply-to: Comments: In reply to "Yuri D'Elia" "Re: rsync --progress stops completion" (Sep 21, 7:33pm) References: <2002755.9ryFYYVtTN@note> <5418786F.8030001@thregr.org> <140916175124.ZM5742@torch.brasslantern.com> <54194198.2010607@thregr.org> <140917085133.ZM6725@torch.brasslantern.com> <541AA918.8060503@thregr.org> <140918093602.ZM7963@torch.brasslantern.com> <140918190130.ZM8366@torch.brasslantern.com> <140920112024.ZM29459@torch.brasslantern.com> <140921102006.ZM31805@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: rsync --progress stops completion MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 21, 7:33pm, Yuri D'Elia wrote: } } As an additional question, is there a way to change the prompt } temporarily, or do I have to set a post-command hook and restore it } manually? There's no clean way to repaint the prompt from inside a completer -- you'd have to run "zle -I" which will redraw the display starting on a fresh line. You might be better off using "compadd -x" to display a message, but that only shows up if there's a completion listing. Hmm. In any case to answer your direct question, no, there's no temporary RPROMPT. You'd have to restore it in e.g. a precmd hook, or use a conditional prompt and tweak things related to the conditions (such as elements of the psvar array). } I'd like to set RPROMPT to "