From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27666 invoked by alias); 24 Jun 2017 03:36:51 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 41352 Received: (qmail 20165 invoked from network); 24 Jun 2017 03:36:50 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f49.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.213.49):SA:0(-0.0/5.0):. Processed in 1.501259 secs); 24 Jun 2017 03:36:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.49 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=bBUrNL9he1i8UcIwIGSh0g3M5pwJ7pxGid7vqtqiWiI=; b=zDlKRgOHzyeLdeqRVkWxYuM7/TSsEiSkbX+HDWTox54lj1xZgqKUvddw+MP1wrkXnx Lj//qoHY2V80WYcU7mQPxLN7PwNUs4yIiE0QTUeCbEeA7sr7Zg4+w43pz0T4ngymLhbE 9RvZpTy8qnvtXvtA8kCnAauyTDtZL11UubRPe3clBvc9MYQPcteNYkb+GBqd3d/FiAW0 BMj2lejuF7bQg2aLrUalwOAVKknTh4XpUdV+nmDyo4e58SQCF80187c/bNFbZQVkhMW5 7aNyRAXuA031IBuWNIBMHqubOmxIDnNxEyaTLlDNqc+Nsj3gKw8C/i1QnKauPcjypm8u QVGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=bBUrNL9he1i8UcIwIGSh0g3M5pwJ7pxGid7vqtqiWiI=; b=V6p465/VxhN8oF2mr90nX6KS+dWembU66iyAclASKnr/KYBsRkDy1ddersNpR+FAYz cs2Fy147UcrZayaOpQpCOUQ550AH+bGa2CGkP/SvED8eco8I33B8OK4uHp+sE3y+DY5R Z4h5nCI4RrIvbMwwdUb8vJJmnRS9ChDtrtzibSemZWlFfLYPtUQuabeWuJMMaoE8NpHO 4DGk7riqY5Xz3GHdpQwwzNl76tYzNN0oYvNAXZO/MtNza7ESB2Q30EKg1lgh8rT401WI JvbCn5OH4L48RE+aAlKwGam52Yug4mQa8u+TCOeru9chNjMKuOAW1IAwPqdrVQuVGJ9q WY3g== X-Gm-Message-State: AKS2vOxLHJXiy85lHxO7HO4wvPfhPStS0ynV4AWKNRVfI+LoEMGV5bqz JFsuQugLs1jOYUEmE4w= X-Received: by 10.31.138.6 with SMTP id m6mr4281677vkd.84.1498275400940; Fri, 23 Jun 2017 20:36:40 -0700 (PDT) From: Bart Schaefer Message-Id: <170623203737.ZM27250@torch.brasslantern.com> Date: Fri, 23 Jun 2017 20:37:37 -0700 In-Reply-To: Comments: In reply to Daniel Tameling "Re: When RPROMPT != RPS1" (Jun 23, 10:07pm) References: <170621101645.ZM9838@torch.brasslantern.com> <20170622101735.4ebebd11@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: When RPROMPT != RPS1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 23, 10:07pm, Daniel Tameling wrote: } } Maybe something along the lines of what I included below (which seems to } solve the problem on my system). However, this breaks the bart theme as } it has a mode of operation where one can set the right prompt before } activating the theme. Not just the right prompt, but the PS1 prompt as well. The reason there is "prompt -p" is so you can see what a prompt will look like without changing whatever you have already or needing to cycle the themes yourself. The better thing to do, I think, is either to add "prompt_default_setup" or expand "prompt_off_setup" so that there's an explicit command to put things back the way they were. Currently "prompt off" restores only the PS1 and PS2 settings.