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=-2.2 required=5.0 tests=DKIM_ADSP_ALL,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19764 invoked from network); 14 Apr 2021 15:30:48 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Apr 2021 15:30:48 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618414248; b=magy8C/gfuvXOaTZOnEw2JcvzHhJp3hwfEMZsgYZa/jXJmTRcblC02oUKkKDU3oqpLz9n2MrMU O5GmjeEZFYmzL13qKaRWutv1Nk0ygUxi6va853q+aE8k05uyD/FRrcTkzeiQis9gpn/Tf6bS6q ji5nkhGqsK5ggM3QGGcLCNTZR020nNQS/1iNVzp3j5VyLciZJUm30WA2kSakZXjkUazJs+E1o9 dNo7pMHZgdpKqIhumigC9B53MwXf+kbMAMzGKWpeAbLX0HX0iF4sVSwMmjQCd1ctrl+GbiH0ll G9VV3m+IeA59dxkXqabsNxfRQj0G7+x8H8jthzbNE2kemQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail.cs.msu.ru) smtp.remote-ip=188.44.42.39; dkim=pass header.d=cs.msu.ru header.s=dkim header.a=rsa-sha256; dmarc=pass header.from=cs.msu.ru; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618414248; bh=X3zS3wi2n1hOWUmMbngc3O6gQ1B9QPrjjp+fbYDtEqM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Subject:In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Cc:To:From:Date:DKIM-Signature:DKIM-Signature; b=rC4Q6VzLNvLszzWDhkzlTJRsXIkQVkNZu8/v3KJ/Qf2gKN6haO+P6pIhbIs8e89CFQqnegEUfC 8MvnNLN591foVd0x2rDbRuWei8av5gVv6jRJrMwanrlb5DDx/V/QV+58WSIS0omRznt/C77rhe 9CdmCTzAI+PZ/AoaEqDBXjT0SXm7lq1WB0yghaHN1XTnkDoWJfcEnPYAQWekAWXomf+aRCxfvb AmPwQEq+NrBJFMyGEJ5TrbMdVyODOavWlQh7mBteYh6hD7D39rEKnRC4tah/SXZlPEpLof1sGJ YMzA1/gkwu3rNTeMXuuEagdwKBCsnkQiS2ulEHl4+DC15Q==; 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:Subject:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=X3zS3wi2n1hOWUmMbngc3O6gQ1B9QPrjjp+fbYDtEqM=; b=keT9ovF36958w6BQLNtfVyx8fP y8e2tl+ntvEiIgRrM56E55/XYmRv0Ux4YK598cITZDhrVf2i0cc+ngiiO6CknpxHr0o5Dn+7OgVcx zd9WoGHBWMPUoOZ7tRAxqjJhTQKRkOekcMlR0E21NYOzlpKd3skmWNg0YqGLAtutdTM7/FVW82FlK jfRUZnwliK0r9t+nqFMi4IccKzclYCVxlWW0GBmazT4Jky02YMfU7gPf0KgAm/hMg6onOi1OaqtMJ fLZ+8lXsgiNfDq/Zup9LDtz9Yvoh4mQ8ZLK1cQa1CbsDFXFRb8CIjnq8/W0K+ifxAsOfhhK0VJGA9 EhbRGayQ==; Received: from authenticated user by zero.zsh.org with local id 1lWhTc-0009jS-0k; Wed, 14 Apr 2021 15:30:48 +0000 Authentication-Results: zsh.org; iprev=pass (mail.cs.msu.ru) smtp.remote-ip=188.44.42.39; dkim=pass header.d=cs.msu.ru header.s=dkim header.a=rsa-sha256; dmarc=pass header.from=cs.msu.ru; arc=none Received: from mail.cs.msu.ru ([188.44.42.39]:62734) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1lWhTL-0009U2-PU; Wed, 14 Apr 2021 15:30:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.msu.ru; s=dkim; h=Subject:In-Reply-To:Content-Type:MIME-Version:References:Message-ID :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=X3zS3wi2n1hOWUmMbngc3O6gQ1B9QPrjjp+fbYDtEqM=; b=RNOC3wQ/NpbHqIuN5elxZGf/kf EXVblaghy6ZEiLQ/SfirSqT0AjMRSBuAV6iE6tXgzbnHz9pB6hHIJhbM0zi7C8SRICz2OsYGyB413 Lz7uAPV7ld2wwnHl7JOSO2wfR880IK/uoXgkFCGQLAtYqSD3TVR1cUoy0yNpYOQtWdxPuV1b7sAUa nvlvP+unHp+zGR4WkbM007DK/fp7nDGYaG7AhjZtT8ZCDDMzho99oPJJkxaItc28sNCvF9sAmokD6 HvYHr129CsPMWT2jguLv1OmZW6XIsGPy9a0NZa8u2RuSxhSGKmoGX5B0amb5Sk37bylhZS5pB8jVG BbwWCdUA==; Received: from [10.7.5.179] (port=59778 helo=cello) by mail.cs.msu.ru with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lWhTK-000N7c-2T; Wed, 14 Apr 2021 18:30:30 +0300 Date: Wed, 14 Apr 2021 18:30:22 +0300 From: Arseny Maslennikov To: Marlon Cc: Daniel Shahaf , Zsh hackers list Message-ID: 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RkO0lrYkLRUokhwu" Content-Disposition: inline In-Reply-To: <6CEA4F3E-9A64-44E1-9121-FA9D5E053AB5@gmail.com> OpenPGP: url=http://grep.cs.msu.ru/~ar/pgp-key.asc X-SA-Exim-Connect-IP: 10.7.5.179 X-SA-Exim-Mail-From: ar@cs.msu.ru Subject: Re: [RFC][PATCH] `newuser` prompt theme X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) X-Seq: 48576 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: --RkO0lrYkLRUokhwu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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_info di= rectly, then why would they use a theme? Conversely, VCS info is the number= one thing that new users want to add to their prompt. I don=E2=80=99t thin= k it=E2=80=99s unreasonable to expect that to be included out of the box. This has not been brought up in this thread, but prompt themes do accept command line arguments. So we could have =C2=ABprompt marlon=C2=BB which do= es not include vcs_info in the prompt for the users that want a more responsive prompt or use rotational storage, and =C2=ABprompt marlon --vcs-info=C2=BB = which does. 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. > Nearly all of 3rd-party prompt themes in the wild include at least Git in= fo. They do that mainly to advertise to people that zsh + vcs_info can do this, and to encourage them to use their shell creatively. --RkO0lrYkLRUokhwu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE56JD3UKTLEu/ddrm9dQjyAYL01AFAmB3CogACgkQ9dQjyAYL 01DQFA//bi/9+WivUfO9WPrYMaTHQqFnFZcX37Vzq1/Xyldxfvbgx+Fq2P2NJlbY ozsbZPiMBTyOOU9eJenRqAkwL3nOV8k/ub8n6q5PFm5P5Zvg5EFb0qHx/VPq9qq4 zO0TyxFmUx/NougAwbLPfrE0d+hh+sxwkqOXjPjqBZ9iPS8uzIzbfiWrzzQsFiAi g438ewjQ5x6PRJ/R3X0iRFa97scaMXrogllq6/4LATO3qwlbKA8nTVzGbKWwoAuF ck2e2U+U9bqdzgRa7d+ReX2rB0M3due/9/ryBbUNUt5CvFDlTweJD0jqMiFrvi60 21jQh5ux7joIFThGa+paMcRNNeOEGBuYkLmxMLI1/SwInvP1LYyBYLHS5OAbh3CT gCQvgEvGMTHq+e6qxwJ50z7COg224GP5simJflWYIesmUAtGi4cmEucGq/EG2470 YYkkJ8odUedoODj3jbgQ1LUA6233JyjaMGFYKDM5s/RDrhORAAeb1MzKHPugX8NI jJr+EgP5NFHEx4Nm2HSAitWWv+Et0lEmqXs/8qPYPYGW876SQGixmNXG9DwmipK3 MTym2zZBHAO9FbdWYI33TwHj56g1EpyQG8/apE9TrA54AdhVDkr9pL+h2q4FpFR9 vQgzpqwfH13ox6Mf5mrOSsYf7b+1CCUkOrj7V/u0BdMABtLUzpE= =6CpO -----END PGP SIGNATURE----- --RkO0lrYkLRUokhwu--