From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21103 invoked by alias); 31 Jul 2017 18:34:10 -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: 41477 Received: (qmail 19947 invoked from network); 31 Jul 2017 18:34:10 -0000 X-Qmail-Scanner-Diagnostics: from mail-qt0-f181.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.216.181):SA:0(-0.2/5.0):. Processed in 1.33477 secs); 31 Jul 2017 18:34:10 -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.2 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM,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.216.181 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BYl0GLmr7x4PNDsIanKCN3uX6KDYRjNWX1A33fVUIdQ=; b=nBKtcQ48Xke9hMA1xx9aBKPCTN+KfATifB6Fs7eC7UwaK3G8ddCNYcYIbMh1qe3MB1 1YbBa5GwVPAPfd+5VGKlxP/fopiysUc42o+UcDun2Gy3rk4QysGw1BQHRVZNbdJeEQoA rygGy/SOtjKiikZCKZw5WS0eYZx2J9JsdFgqfTuxEAwRMlFc7VDj1wq+mhIkFkniuPU7 Otf0lZJJD4kW1FnkZKiHMhDhqjnwOUX4eEdnOXH7LcyoeRzKHWsgBG1F0F9im+M4kw08 Oqi/Mkwlh7bW1svOcUxnm/fjTjulauiI0S99sHElYUWzhXUnyZAfVs/sd7j4eLUM1w0B oCWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BYl0GLmr7x4PNDsIanKCN3uX6KDYRjNWX1A33fVUIdQ=; b=Bug2KOAno82UHUDbEkFtsrYx65G9mAIs13ju8KSJfH9vMRbbthCN0fEsLLVmSIhNs8 y5sy916j57F+kMpKJ8iNBazLctY6r+kBt1MM6h+UEvbmCrS0LFFYHteMkj/16HB6IpgS nTWnLBIkzGPEFq2YqEjtU5li1wo6FPvXUmUVkg0J/IJ1MPMM+m24qK2zKO/pUNqz6BQ9 KLOS9Av8TlKrCGcHkW3FrZRO3GZYuuTYueijE88lKQWAPK2eDGLEi1pUDNXkBH+5nHPZ yGnc588WGXsMOn+2vGB1eNKipXGpz9orhq9o35FiGGvu366cXoqv+Gpqdw0zAKdJ6cuM /bgw== X-Gm-Message-State: AIVw113P7h4xFDB2pDZ7Oe7zJwUjrs0Q7QG4GRwrmaei6uv2BJ7PHCJq kyKryqbfpK8EkdS9DimiQmMf1JYcmhjs X-Received: by 10.237.33.162 with SMTP id l31mr7907426qtc.188.1501526040591; Mon, 31 Jul 2017 11:34:00 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <170621101645.ZM9838@torch.brasslantern.com> <20170622101735.4ebebd11@pwslap01u.europe.root.pri> <170623203737.ZM27250@torch.brasslantern.com> <170727195331.ZM18653@torch.brasslantern.com> From: Bart Schaefer Date: Mon, 31 Jul 2017 11:33:59 -0700 Message-ID: Subject: Re: When RPROMPT != RPS1 To: linuxtechguy@gmail.com Cc: "zsh-workers@zsh.org" Content-Type: text/plain; charset="UTF-8" On Mon, Jul 31, 2017 at 9:24 AM, Jim wrote: > > Built 5.3.1-dev-1 with your changes. Upon testing, I found that the > original > issues of the right prompt is still there when switching between walters > and either bart or adam2. The right prompt appears on the right side of > second line of the prompt. That's intentional. It's up to each theme to determine how much of the preexisting state should be replaced; if the theme doesn't explicitly do anything with RPS1, then it remains when switching. To get the effect you are after, you should be doing three steps: prompt walters prompt restore prompt adam2 (or whatever). "prompt default" or "prompt off" would also be possible as the middle step. > But unlike previous versions of zsh where > unset RPROMPT > was needed to remove the unwanted prompt, you now have to type > unset RPS1 > ?? Yes, the intent of the change to "walters" was to make it consistent in that you can always "unset RPS1" rather than having to use one parameter name for some prompts and the other name for others. It didn't otherwise affect anything > BTW, was there any reason for changing walters' appearance? It > now does underlining instead of the colors as in previous versions > of zsh. There has been no change to "prompt walters", it has always used %U/%u in PS1 and color (default green) in RPS1. However, the interpretation of %U is specific to the termcap/terminfo definition of the current terminal, so it's possible that's affecting something you see.