From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26406 invoked from network); 4 Jan 2023 01:29:14 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Jan 2023 01:29:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:References:From:In-reply-to:cc:Reply-To: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=LWKPrmFkXTSKQXRSNxXU6gtx6MfWFaN6Kf8auQoTjng=; b=evZZw9qCKDVkMM5dt2OsYU7wzB yjDVowcdUFYJXd0I4onb1zIHFpWGYGg9MEni7ImoAIvCeD13JDm18thpnab6xDSgo+e8HoiK2Sm/o EblgRoYTPMhSFuhSbn6YN67Xr9OMm4TJwmQGpXYbP+g65Pxn4fXUciUkVQfAQtz3zpnOL6J/GGu4u K2HdhNpIupcuXc95EmIyloQTf5HL4/6AR5IXLKQ0eFXTKtc5pKoWUDgI6gwjutP6lN8vPekf44rQr 2KOqroEAW24VzCjeBtM18oXEX/KOudHAfTTzKX/EIWnRz48ZR+W+aX87CbsezClzqmCAjuZs3pNAC jCdcJziA==; Received: by zero.zsh.org with local id 1pCsag-00055x-CG; Wed, 04 Jan 2023 01:29:14 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1pCsa6-0004lv-9l; Wed, 04 Jan 2023 01:28:38 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.95) (envelope-from ) id 1pCsa5-0009gP-Sv; Wed, 04 Jan 2023 02:28:38 +0100 cc: Zsh workers In-reply-to: From: Oliver Kiddle References: <81616-1672338153.037786@CNij.sb4i.9Ck4> <33364-1672788155.511966@XhH4.5XEP.IFzg> To: Bart Schaefer Subject: Re: PATCH: remove OFF flags for display attributes in zattr MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <37223.1672795717.1@hydra> Date: Wed, 04 Jan 2023 02:28:37 +0100 Message-ID: <37224-1672795717.889128@aam0.OdHd.exfi> X-Seq: 51275 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Bart Schaefer wrote: > Just confirming that this won't interfere with (for example) leaving > an attribute turned on at the end of PS1 so that the command line > input has a different appearance than the command output? I believe > this is a somewhat popular trick. For PS1, yes that still works. However, looking again, effects from RPS1 are not preserved correctly. Those are also used if left on but it looks like where attributes were left on in both PS1 and RPS1, PS1 takes precedence and if you leave an attribute on in the left prompt, turning it off on the right has no effect on the prompt text. Does that sounds right? That should be possible to restore but I'm done for today. Oliver