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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16050 invoked from network); 24 Mar 2021 17:45:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Mar 2021 17:45:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1616607934; b=hikXzV4LAOjSjJYj2G3eyVyn0tZSiOoj3WDn8C+MTBtiEfHd6972scr2rMOjhsvs1rP/8qPcX3 eMT5QkomF0CETtXAhSvCzt07HqgqlxPbAE92LKv7JgfqueCix2A4WIHtu+BmfnFFYLuYoaUe/S VXr8hr+KTQ6rlTn5LNi23uUzWhWU8fm90ENnX7nFpRVKk/Cm2icLZjbSlnVSwF9EuZYP7GBoKi qE/+4RLKcpOeL/v8rqyd/ZdWMJPdgithAmCvr3RYn/sK2M5U2fk5OUWKDwmfTd2E84Bl8QlBqf xEL4OnM4OupyLDZYp9B7Ogqx5UQ97/Gux0p8ljqXQ/ny4Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f169.google.com) smtp.remote-ip=209.85.167.169; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1616607934; bh=oBZT/EetMnuZF1bEj+VnxIlE9Urnad8pa3yJ/23Wg4Y=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=t4uJe7Wp9TeU0pgvFeD0TEkS+Jb/i1VIDN1b4oAAjVx8NcEWKgO0EUOxR7Ls3JZSdEHMesa31W q+bKd8INwN5HJ4h4t6qpNkKvPoqBDjCRNKO0jlEfFaVIeEUkf0r3vG1DvTphnC6icW0JdI7hYi 80jB0bi5DnJtXUUzyEaCGeQmd5abKoHztlW/tgN9w0R/v0dkgXKT/XFCuzR3W7GZ77jLkgEZZM I+STXPcfsaTAgA2OZKzZYSsFxIyFNdYOfmJQuxD6q6/SSyq04rQMmqsS2ufEePx4sKPbiV4+Ro zpC15xSu+GPJzYag0DGo/rUjtd3iRItkf8AhogcfFkZ6Qw==; 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-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=FZ2NAkdEbAxte8O29HpkfUXULNB67XUdHF2M6ZNEuUI=; b=VhaEokNpqI80QvfjIjADweT5U1 iq5YWsg6Kj2ytTWIp7S0Lh7SXv9pPYB5xPMw+gcstzv82X4dpejNFDodl59VomuCb1Gdj32F/s6wo ZtHGOTuIf/2xsLB5/Pa0mY+qT30msEyLS0Mv3laPQvaWls3R+XsqVwZBbU3ZbbzBVsnnxEQjdBlEO vwmPMqmx4rbgMHv5rJqD4YaAUjf0yLUBQj2Zm3rGVP4QpaGtFe+he+blUHqZgRFI/SYXJzTsUI0eL fOpizDpfT2Ph+g2991GouR7fMFZZi77pw0w2b0b35dtEjpMXS6+n3UYSsTKXdten7Ik5XqENtKZZ1 c3Kzj/dw==; Received: from authenticated user by zero.zsh.org with local id 1lP7ZT-00004f-4t; Wed, 24 Mar 2021 17:45:31 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f169.google.com) smtp.remote-ip=209.85.167.169; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-oi1-f169.google.com ([209.85.167.169]:36549) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lP7Z9-000PvI-Bk; Wed, 24 Mar 2021 17:45:13 +0000 Received: by mail-oi1-f169.google.com with SMTP id c16so12774064oib.3 for ; Wed, 24 Mar 2021 10:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FZ2NAkdEbAxte8O29HpkfUXULNB67XUdHF2M6ZNEuUI=; b=E6uf4uMoVieqMJz5JGOC+GNnZasYXlMoy1qsu0TNbFN8fwTDm+0+Q+/pyxEHKfOHU5 hzFXggwb8igUBRtXqGsEUpgUj38ksGkiEdE2uFisrX/CgKrH38yycd488wdzXGiyNmva U8SrhFZOfzPmL/kEroXIaOYaDv9gr9sl+TtuoU2NMuJX6GOdLB4kGkJZORJ08Ogbh6sB Di5NyEkpWMxNNpkSvu/Xm9IhLxzOT0XPWKUvSNAIU2QcKsKAcp396Ic3LugKZAjzaBjS 7vsDXTf1VpB3RVAtziJecK2F/2F/qGFHd9rA34cEYGQhpjQBOEjNNSARjK00/wAEDBEL uP9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FZ2NAkdEbAxte8O29HpkfUXULNB67XUdHF2M6ZNEuUI=; b=GpyBX43qkgSpRFTOzt/6CTyVyyQ60IUV/6+awuztV/L8LyPU2GVx00+J0YNO35s2Wi HznoprAFaY28XWsv/ryP2UDsHFrTsn2GOTVregSJqY1up//BDHG+PHQQdOMjKxzwYG1u JuiHs4BaPgkRA1clmWm8iIGR+mQ+6ou8b1u/hxYcMO2orghlC1gUjfyFGy1zmwz4wWOB oQgvCZ+UPmeDp5bcgRU2p+bjhHd4S8X1JcTJiOSescMPpCAnnLK+lYTuCuC8iBqhLPGs ajmSFaVuK7lv64yJlilG0XapIuLFAY6GliWYJe/2pVEd9OD3dqTTzmM4k46MgM1jJ7oA /nqQ== X-Gm-Message-State: AOAM5314DihZYQ8l3B+xx/Gmqw/6/iXCkKSpAGiXIOW+MFHLtif8t7Br k+KvYxkkJ6t+i0//qr8608msd5nlh+AAi8lNmKgvzg== X-Google-Smtp-Source: ABdhPJzCpgSHV3/936N2bO8bB6cyiug5geozPIqPlMRL8UKx8dX2IxCPw9A2Imy6Lj2Got3qA+W8sosytbqDTMI9eCU= X-Received: by 2002:aca:4d8f:: with SMTP id a137mr3159866oib.132.1616607910291; Wed, 24 Mar 2021 10:45:10 -0700 (PDT) MIME-Version: 1.0 References: <20210225080519.GA22300@tarpaulin.shahaf.local2> <20210227132121.GA9308@tarpaulin.shahaf.local2> <20210324134539.GF12170@andrew.cmu.edu> In-Reply-To: <20210324134539.GF12170@andrew.cmu.edu> From: Bart Schaefer Date: Wed, 24 Mar 2021 10:44:56 -0700 Message-ID: Subject: Re: Rewrite of zsh-newuser-install To: gi1242+zsh@gmail.com, Marlon Richert , Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 48238 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 Wed, Mar 24, 2021 at 6:46 AM wrote: > > 1. In zrestart: exec zsh -l instead of zsh -l && exit We already discussed this earlier in this thread. If there's an error in the file, "exec" will kill the shell leaving the error in place, and thus potentially make it impossible to log in again. > > 2. HISTFILE location: XDG conventions suggest putting things in > .cache/zsh Discussed this too, and rejected dependence on XDG, I believe.