From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6287 invoked by alias); 24 Jun 2017 20:09:44 -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: 41357 Received: (qmail 2390 invoked from network); 24 Jun 2017 20:09:44 -0000 X-Qmail-Scanner-Diagnostics: from mail-wr0-f194.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.128.194):SA:0(-2.3/5.0):. Processed in 1.176962 secs); 24 Jun 2017 20:09:44 -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=-2.3 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_SPAM,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: tamelingdaniel@gmail.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.128.194 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Qe8EuIO+on5F100nMkt19fafrjcRS2YC7Y+I3Zp4mBw=; b=NJQYzT/TRe13v2Jf/HvqNUVvLAvR1PpNFJt3DC3ZhkMLhtRKShe6yw8ea/B00J9YBK 06e0+tZoMFvX9vwsoILotYxan9DXh88EQrqQV5qqTWCYk0e1beEvPDkDe6ZWOS89J+GA LSY7JSy+qraW34wV2lAjI7YxJcSVSIPQYqZZZU0QayszRE+rXgH8qO5tbrv7LWWTDP/8 UqepMEbpw4lTdM8JaK61Bxk94PkF9T0jk9zkRToZAe2isneq5sX8j/l4hNFDTLPvPib+ Dv3reBq/UJs/GXB8qVjx3XIHVN0DUGnc76L7uw3DdmGo5JV2zzH54qPvfWHHSeg52eT0 h5eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=Qe8EuIO+on5F100nMkt19fafrjcRS2YC7Y+I3Zp4mBw=; b=HFPtQ8/dE121Ivj4Hd8v1+U+EZZcdzvmfXb23EMtm6b6mkQ9GHlOLd4sifz5Oybm74 6fdFBJFKAgpk3yNdtXKk4fyze/9k4vp06PGkLX+W5hbf/68gomn617TBoprf600kqQg4 BojzO2palj7pSbgHxCnbWbzmLkzD9mJvNnIodAgdOiZcAQbv0toCsifN5UKq+kiDO1o6 Hg5Cdo983lD7+03eQgsANoaS2hicgEPdsYLQSVqVPWPn5J94MsGCsw9cz6S4IC2YyUvo RwuhRhF5kAnTddUfRSaPvkHxofcgbrFwhhKBnpcX5yfZA3wy0+sNWTi2vCiiXHGWKJsC VTtQ== X-Gm-Message-State: AKS2vOyqUyAxMytn43od2mtF/8F5OFtAomkUE4QSxmFykKWTrv1DE7aS Ibyxo7khd4MCdgvu X-Received: by 10.223.134.16 with SMTP id 16mr9344477wrv.83.1498334976431; Sat, 24 Jun 2017 13:09:36 -0700 (PDT) References: <170621101645.ZM9838@torch.brasslantern.com> <20170622101735.4ebebd11@pwslap01u.europe.root.pri> <170623203737.ZM27250@torch.brasslantern.com> User-agent: mu4e 0.9.16; emacs 25.2.1 From: Daniel Tameling To: zsh-workers@zsh.org Cc: Subject: Re: When RPROMPT != RPS1 In-reply-to: <170623203737.ZM27250@torch.brasslantern.com> Date: Sat, 24 Jun 2017 22:09:35 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain > 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. If I try out a prompt, I like to execute some commands and see how that affects the prompt, and with "prompt -p" that's not possible. So with the current setup, I have to be careful which prompt variables are changed, and then revert the changes. In principle, this is no big deal but it would be nicer if there was an automatic solution. > 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. I like both ideas. Best, Daniel