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.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20202 invoked from network); 24 Mar 2021 13:46:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Mar 2021 13:46:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1616593566; b=mNyFjEkyIBM9zevQAlVbTTj/rpacdWz9XmFQ4MrMZZtkpS0cZuG6Fn1UMYcnNZ5ZCvtzau0jvI NfC9EYApZ2d5d4SqH9ilHx9pJiYaXELg8zfT8V5eM2oyqLNDvCtt2dBKCeL09i7XlMmCAKEH7r 8I/FY4xsk6XCz0/msp4l6fYZEHD4F6i3fOaHEKNiuUoTNLTG+UyDGtY9o6Vlukt5KbVCTmFSgM 1dt1RCaONf5qwn1A8m5Pqs1lQFhzn6Q2jyJIcGSIVS9Zh6M0PhGZ7hrzskPHlTLCy8jX7TiNu/ ytuW28KzIND4rgkrvJ0QnMzjdwuImH1jnZ4jAgIAs7gr+g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (qwes.math.cmu.edu) smtp.remote-ip=128.2.32.147; dmarc=none header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1616593566; bh=3VXKS4iUudlTJ8vC+WpwQaWmfOLMJyxWiuo1GeZuwKQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature; b=g7v7m9DuMVZzM6/4X26oRd3r0A/vqKKWz3NsmpnvQYp0fZ/3ur33Qez6NqdVu6aXlntTA8laDf C4CZpvSs/mQINQWPZaLbm7qDqKALDECdBQAsHIPtrCssK77ipW3ogKIcKO9RlR5zzTze9BxCFn pCoXQ1tHoyRbl+tyOzAC9vnGUC7tuZGHyL4qe9D8yaY/oC2aACSyq1JcJ+XARpJukyl7YrAg9z m/fOGFqhLsdDcowVeFdNxJkU9cPNx7SltKgQM0xGl+jSXrErlSE5vefWUJUCUoRusS8g3qFEE0 p2scp8FTmPJXGv3WWEuqPAxY+yDbj5h68IzdNiRh4eIBbA==; 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:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject: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=hMYOfm5jg+7IauJ1ok563ugXKRjxr14mVmcVn7Sl7SA=; b=kXA42yw7oCg2ZQzTe+bIGCI+NP xBQQfz2BD/PVKqqQee6Sa1eHQ+YLaQpK/Ur45KHfJCQu0bPlVgf4zZ9vYHGqCo/DcylKYmoXRz5MS lpVwdy9ejMDwHMLQjeQ7y8BiIfNw0vlrMSo2EuW4EwxgC+Kd6SOHqL7FIdfkJhgD7+qa602mE/nsW 7zfwrkw8y6yjIIJdppxwYfmXNGea8rvFgT6KGSgFVQq4XvjQvQLzQfLk3YwNjFAXKHRRMk/5A8k3S qmdq/0dtprh10QihqF9dBMkqoYzCdJSKO8z8t3Fws1ijixdKLUxTX9Uu9crNl8z2yb7GsT9gn7eCT 4MJi0NIg==; Received: from authenticated user by zero.zsh.org with local id 1lP3pk-000Iti-Le; Wed, 24 Mar 2021 13:46:04 +0000 Authentication-Results: zsh.org; iprev=pass (qwes.math.cmu.edu) smtp.remote-ip=128.2.32.147; dmarc=none header.from=gmail.com; arc=none Received: from qwes.math.cmu.edu ([128.2.32.147]:41304) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lP3pR-000IkH-Gq; Wed, 24 Mar 2021 13:45:46 +0000 Received: from localhost (localhost [127.0.0.1]) by qwes.math.cmu.edu (Postfix) with ESMTP id 5DF1E382A82; Wed, 24 Mar 2021 09:45:41 -0400 (EDT) Received: from qwes.math.cmu.edu ([IPv6:::1]) by localhost (qwes.math.cmu.edu [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id ZE2HECSK5mhP; Wed, 24 Mar 2021 09:45:41 -0400 (EDT) Received: from andrew.cmu.edu (GI.MATH.CMU.EDU [128.2.112.77]) by qwes.math.cmu.edu (Postfix) with ESMTPSA id 3E1F83800D4; Wed, 24 Mar 2021 09:45:41 -0400 (EDT) Date: Wed, 24 Mar 2021 09:45:39 -0400 From: gi1242+zsh@gmail.com To: Marlon Richert Cc: Zsh hackers list Subject: Re: Rewrite of zsh-newuser-install Message-ID: <20210324134539.GF12170@andrew.cmu.edu> Mail-Followup-To: gi1242+zsh@gmail.com, Marlon Richert , Zsh hackers list References: <20210225080519.GA22300@tarpaulin.shahaf.local2> <20210227132121.GA9308@tarpaulin.shahaf.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 48235 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: Few suggestions from a lurker (feel free to ignore). 1. In zrestart: exec zsh -l instead of zsh -l && exit 2. HISTFILE location: XDG conventions suggest putting things in .cache/zsh 3. Same with completion cache, recent dirs file, etc. Also, what I'd like to see in a default zshrc is something that's not going to set personal preference options by default (clobber/globstar), but give the user many commented options that they can change quickly without having to read 300 man pages. As a result I would only put in things that give the user "least surprise", and is still functional. So I would leave in history saving, colors, prompt, highlighting, completion and maybe even a few **really really** standard keybindings defined. (I also think Ctrl Y is more standard than alt ctrl z for redo btw). However I would comment out everything else (autocd, pushd, globstar, and especially clobber). I would also put some commented out bindings to set vi mode. (That's all I use myself.) This should let most users just use it out of the box and get colorful prompts / nice completion; and if they want their favorite options they can just edit the files and find the more common options there... GI -- Two banks with different rates have a conflict of interest.