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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13188 invoked from network); 14 Apr 2021 18:53:49 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Apr 2021 18:53:49 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618426429; b=S8XB+hvOMMaiXk5Tc5r5fWDvwOYOllWkeABg/m7QJ3GeiEWkquDNtpHqbRUakLmMMEK+ALx7vn YRVyceYpcRRxoFOsFFrpOEFUdaPHLeVP+VOIxBgjSsKMQcq+C7wY6ReZCFLw+juGmL5CZWQ38o btYTqtnD803p1W3QMz451UdPDklMNocFQodeQ0/tyzm9tDAvsk18bFPFDbXe8bCeGMKHY7Sg2w 0X3CzkdbdwBNucFbBCt4JH4kRgit2TbB04QmnWhVqfPPwRipo3wC6b2lLya7Xc+kr5nBCA0faD D9QozxmaGZdJ7V5bdwUsXjzTIr0XM8HtoH/mRIFRd5a6zw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out4-smtp.messagingengine.com) smtp.remote-ip=66.111.4.28; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618426429; bh=voEx8ngp8J9kj6JqxEB9iHXJjTVVfIewHNGyE2c6B8o=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:Cc:To:From: Date:References:In-Reply-To:Message-ID:MIME-Version:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=Dz60F7v2rXtkUdc10SfMCH1RVsxV9ryAXtpXRnU2YLDlOtV2ol048IMsTcbbdt4zd6Q2vHnl8W FK5AMvuTDoPU/AFlNzXh7Wn1BDfAyWDQ24Iu9+b1lzb8Tle8HVcmB9LBL7dtYUVNP0UkjCaGgg gR+ytBpgrOtDitcxSqF2hTZP0cyVfvWFyC5ZYAH3LF1SH40LEEp1ZPPSjzwask99M958wkuFzg VuPBxRb4Nal0rxEYkxzQXixU+be4UUasfpa4faDu7S09F8HEh4bM/1BNGCPqDLKXgmq/zKmNpG E6JliKK1Bt39Gt4H6W1gi2VLX2t71mDF0HONnDTQRbBxzA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=cDD5oniaSoU1T4pcnP+bYhFcBd4SRW+CjpytWvkQpA4=; b=KoNuXC3ODjM3NwZu7ptvWss5k1 en0ztJaw/FjMcWGeFRikJaZvJgCwA4ZMR4ZxeR7XlVO1IA/2I38mq3lZvUrDVKuJzxPFOxaz+fXtM 53TXbHtAV+2hX7DEfC+mJF4awzN/PxaK0qh9pEwR5p9xuqmTAo8mXLqO+jw+BTo6rpsaUHC5uY2Ty IE8sl0YeLAUcC5ppuY0SrpgVjXtkp+4JIsEfP8ckyrRpomyztPo5NRy8Z5UWn1Ktsu9QjbrNoGNEN P52F1GgvSPVs0vcGMBknOADHLzvazwKRemrJT9UMqvMWcjJl8FD+zivrnspEpyDUngv7pvoni8+Uz W+hs/aAg==; Received: from authenticated user by zero.zsh.org with local id 1lWke4-000F2L-CT; Wed, 14 Apr 2021 18:53:48 +0000 Authentication-Results: zsh.org; iprev=pass (out4-smtp.messagingengine.com) smtp.remote-ip=66.111.4.28; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41563) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lWkdQ-000Ep8-R1; Wed, 14 Apr 2021 18:53:10 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4BDAD5C0045; Wed, 14 Apr 2021 14:53:07 -0400 (EDT) Received: from imap37 ([10.202.2.87]) by compute3.internal (MEProxy); Wed, 14 Apr 2021 14:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type :content-transfer-encoding; s=fm3; bh=cDD5oniaSoU1T4pcnP+bYhFcBd 4SRW+CjpytWvkQpA4=; b=Agc91xc4Yw/GQy71eXpwb3rfGz6A8c3tvvNM6+A31A ln1/poeware1K3XCTe2+tC9aVcK+1kPbOSKl9nWiYfXpScF7A0RClgJx6XD42+ne hYkw5k4mI3C0Z+c8b/gdDP0g27PECa6yQ/UsC/LcPlxlVSIY6Bc9UGgjtI3fXWaR 8Rllu0n96MABcGKIqJYQqBViJpVMY62M2DfS9ze5FWoQEbyH8Y+1yp966eUqfP7P oenNiS0P1yClOF9Rnb/u/9brikvpuDtTdnDnQ584OgAD0WJS11i4oeYn//drciyI XTW55wUhw2BmCT4AD05RCKhkgidGPXqFMUo/6riAPpog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=cDD5oniaSoU1T4pcnP+bYhFcBd4SRW+CjpytWvkQp A4=; b=i5O21A0fVXpvLef3zAA9+WvFTHiETlFyizURFU3q7N44sCv8/44LtOaee pbWnWGiPpsUVLyRUSGj057G9NGXVX04/gMvp8dYeN4juDzwEG/syNblzs2MOwDCZ 17CMMPdFoVFH3TudAMms6r70r3gVGsLKAy9rmgewkMZAvdP+/F2/S5aSVoRGJZ7U DlL5PzIoZfPgaq0bA/QSTKqyNTozO5c1adHhDX69DchRZXyWu5+TmS8CtljvFu90 eKXBzd7Znp9F/usImOsX7mehS/L+2cSUG1hmA84lVPjMUBm8MEoTSZWmokuphb9O nj0ccz2BrITCSG9Ao/m5t2E/DI4bQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeluddgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdff rghnihgvlhcuufhhrghhrghffdcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrg hmvgeqnecuggftrfgrthhtvghrnhepfefhkeefveeileelheeiffdtkedujeelvdfhtdej tdeggedvuefffeelhefhvdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5FB116B40065; Wed, 14 Apr 2021 14:53:06 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249 Mime-Version: 1.0 Message-Id: <34c978a6-a860-4320-8e58-8010e909ed2a@www.fastmail.com> In-Reply-To: References: <7E71FA83-356E-448B-9726-02DF3FF5BD14@gmail.com> <873D08A9-F321-474A-8440-CCE7DCCBA529@gmail.com> <20210414120551.GA3882@tarpaulin.shahaf.local2> <6CEA4F3E-9A64-44E1-9121-FA9D5E053AB5@gmail.com> Date: Wed, 14 Apr 2021 18:52:31 +0000 From: "Daniel Shahaf" To: "Arseny Maslennikov" , "Marlon Richert" Cc: "Zsh hackers list" Subject: Re: [RFC][PATCH] `newuser` prompt theme Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 48577 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: Arseny Maslennikov wrote on Wed, 14 Apr 2021 15:30 +00:00: > On Wed, Apr 14, 2021 at 04:17:02PM +0300, Marlon wrote: > > > Why shouldn't the > > > theme just advise people to set the vcs_info directly? > >=20 > > Because it=E2=80=99s a theme? If people wanted to style their vcs_in= fo directly, then why would they use a theme? Conversely, VCS info is th= e number one thing that new users want to add to their prompt. I don=E2=80= =99t think it=E2=80=99s unreasonable to expect that to be included out o= f the box. >=20 > This has not been brought up in this thread, but prompt themes do acce= pt > command line arguments. So we could have =C2=ABprompt marlon=C2=BB whi= ch does not > include vcs_info in the prompt for the users that want a more responsi= ve > prompt or use rotational storage, and =C2=ABprompt marlon --vcs-info=C2= =BB which does. >=20 > vcs_info is designed just so it is configured separately with its own > zstyles, though; IMHO it's unfair for a prompt theme to modify that > configuration, but OK to make a decision to use/unuse it. Well, the =C2=ABvcs_info $user_context=C2=BB usage does exist. Perhaps = a prompt theme could use that and then set appropriate styles=E2=80=A6