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 12837 invoked from network); 8 Feb 2021 23:33:55 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Feb 2021 23:33:55 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1612827235; b=S6+LlsQoEKEEBHkrkWBAR7+knv7fwYMV+kL2/lstjSPWlbcPN/hLaWUc2ccZPRi2O3Dy/EODIG xVVNE8cZy/mFxJZmUCmD+T7MBqKkt7qSQ7/j4xm4BdCCG6lzhUkl0Muet06To5JVKim+KDqp+o Ob6E7NnXT5BZD/Sc93aK914d94+ola6gozs+qMr16FkELvoXbmQsyCxPnAVd7jk1rCqRBYr2DC 4wbVVjrjh8n6qFHyVMAW9GeJLfY9f9lJbstY7N7Cf+uinQfvNCCnjMVq3b7xDscJZ1onbip3VI u5Rws6aKR7X7sViDomziuPo5vHAhg9rqgV9r36NH7NBK3w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out3-smtp.messagingengine.com) smtp.remote-ip=66.111.4.27; dkim=pass header.d=larryv.me header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=pass header.from=larryv.me; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1612827235; bh=Ac54prBPLSGgrhIXgYzKqVth6Ce31uEVjtwjq+YP4T0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:MIME-Version:Content-Type:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=Qi1kKjYk0/ITu2bhVJ3UIzf9vl+tFVctuy/y5JSPYzEjxOZZPckKzVR8KnBhBo62wcHo3vvTDi ul2IX6lbcubNss63qxpMa0jF8FZSSP1R+C5r+N7p1se2igvrlfmGp0Jlczx2oiTlvsBya1+w0X i/0Bi/ICk0KneG78eaPpdn/XTf1K0/I7x63iMZyxytQlx33vytKf+hJZE2TakeSBS9/+DiZN3A rqJyewnEsE5UqyAYjq1niGj0nCfGZn/+sxpybuU/QKuKoEY61CNu9xhiPMRgpk7qpmHz1zDsYO oIJlltHFb+yPCAmoWeYgGt5Y1T9Oq97Dd0dMuqVB1GbvWQ==; 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:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=/8TE8NbXauIpJ5X8vr665xKdfJ5BxE+d1L0hN5a3IUw=; b=FSsBPuwsfKQ5MZQL4+8wkSTj9q YNLvWnsCc3xga6tPfNMVbPC/IFwKQzsKnk2UlW3NET1wbWJNUykNxkpSrH6m/F+GyURpEaasijXTG 4aAzgUtUBjHCKRXGkQ8L23p3aR40hOxYV0TZdRyjQV/OHgeuVY5KqaE0UUrAfajOf3D2nvFEP1W/P ehLU+FyE1Xc2zqKjlwftBk8knpO3LIClFDu9OImrXZkQdg6OUdsn1oyEO63z8jBmgJ1J8YfDxzCkf ctzF+PrdmsgsDvV9iiD8GJFHgdPAzHaeWiHANSSMNjF1pEGTgExt4WsGzz3esJwNzGTmT274Utm9K GQRmvHOA==; Received: from authenticated user by zero.zsh.org with local id 1l9G2P-0007BU-Jz; Mon, 08 Feb 2021 23:33:49 +0000 Authentication-Results: zsh.org; iprev=pass (out3-smtp.messagingengine.com) smtp.remote-ip=66.111.4.27; dkim=pass header.d=larryv.me header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=pass header.from=larryv.me; arc=none Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45685) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1l9G29-00072I-IZ; Mon, 08 Feb 2021 23:33:35 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 308375C0197; Mon, 8 Feb 2021 18:33:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 08 Feb 2021 18:33:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=larryv.me; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm2; bh=/ 8TE8NbXauIpJ5X8vr665xKdfJ5BxE+d1L0hN5a3IUw=; b=mUlwwFKBEGNC3szly lPpbM5rBuu5tB868QSLx39E8b4yN3oQAUcqnpJXvSGFlQftrrpcpyN9ozqMQj73E UmFwnMRyB+pPGk0Hjg/NP6XfcYkNxTNAFNsfG5bVy7gobGM0+DTmXTGMjaC967wR Ca300qKpYRgm1g5nfEn1QBQMuayjri6qXMkgBW6/GHQE6jdTtmW6j9tSdzedx9Z+ ElG5zGbjpB85y4KuBA/+ZUUYwZPOC2NlMX5jRbtByVytDaXNedV73xDxFQonlBtd U+YhWYxlx58gOHOOjePnorFTJteMMQt+qI1b6MVbpLZIP42d568wX5mGT0l2jusZ lyrfw== 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=/8TE8NbXauIpJ5X8vr665xKdfJ5BxE+d1L0hN5a3I Uw=; b=DN+H4EpKn5N9Ixdt1D+1q5VfM3oB41C8gfb0vporblcpnIeT1zeXESnfx KE1metN0En5HXakL6GnY0fl8cmyYQbT7/z7Yun2AXssqPixj73aZB01m6CeEP8KL 3sEavJoY0ECqcw0j3QfUbUnRgUJG+pfHOW1ai12zwSARR34FgwutaaaQEsn00os7 +cCjq33QmwZmZo0Bx3XqM6haZwHq48eMnvE9+KuwNBA0CidO1DKbhHEos+7SvKfp FJs/J4wS74fbt3N4LA0K/PvflRdfslbnnEJbypWDaxGoDWQBfCD4r/TO2dS/zwK3 LtOGZ2t+Gfv0txMhb+IfpC24i2z0w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheeggdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpefnrgifrhgv nhgtvggpgggvlhojiihquhgviicuoehvqheslhgrrhhrhihvrdhmvgeqnecuggftrfgrth htvghrnhepiedvteelhefftedvgfekueekffehgeevgfelleeitdetleehgeehveefhfef udevnecuffhomhgrihhnpehgihhtlhgrsgdrtghomhenucfkphepuddttddruddvrdejge drfedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep vhhqsehlrghrrhihvhdrmhgv X-ME-Proxy: Received: from [192.168.1.15] (pool-100-12-74-30.nycmny.fios.verizon.net [100.12.74.30]) by mail.messagingengine.com (Postfix) with ESMTPA id 9D406240062; Mon, 8 Feb 2021 18:33:31 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: Rewrite of zsh-newuser-install From: =?utf-8?Q?Lawrence_Vel=C3=A1zquez?= In-Reply-To: Date: Mon, 8 Feb 2021 18:33:30 -0500 Cc: zsh-workers@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <27C00E77-16D5-4D94-9791-5EC5E516FF89@larryv.me> References: <0102017778f35f33-a962e4d3-83e9-4d3b-a0d7-45701bb40b11-000000@eu-west-1.amazonses.com> <8BA25288-0FFB-4FF4-9799-541D6A3C52DA@dana.is> To: Marlon Richert X-Mailer: Apple Mail (2.3445.104.17) X-Seq: 47956 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: Archived-At: > On Feb 8, 2021, at 4:57 PM, Marlon Richert = wrote: >=20 > All right, here is my first draft: > https://gitlab.com/marlonrichert/zsh-sensible/-/blob/master/zshrc > setopt HIST_IGNORE_ALL_DUPS # Ensure all history items are unique. > setopt HIST_REDUCE_BLANKS # Remove insignificant whitespace. I know that a lot of people like modifying their history automatically (including me!), but doing so by default is essentially silent data corruption. I think this is the kind of thing users need to actively opt into. > setopt SHARE_HISTORY # All simultaneous sessions use the same = history. Similarly, while it's neat if you're into it, in my opinion constant importing of other sessions' histories is too much action-at-a-distance to enable without an explicit opt-in. I haven't really thought about the rest. vq=