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 23900 invoked from network); 9 Apr 2021 22:04:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Apr 2021 22:04:19 -0000 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:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:References:From:In-reply-to:Reply-To:Cc: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=95tTnskUvFMEi861GAFHDsmrghpxvjawHPjDOk0p2/c=; b=xkuZKQM78PW8zdcnR2q0//jE4k WxT5yq5OjGIeHzsrJrTOJdI9uTzIlioLaLxJLCWGzIx529DKavv1fXnd2Vw7v4+mU2kZMmLJ3CVl6 WuRoEDqkDhpw9WYoYx8fJPLzu57EBSWMWaMgTg/Bzz+t2uD3Rpfptw2zF7Jyb35pzO3XvSi/LBBwI K3bCClGRQUtCmtFdG4KhAvq3FD90nJOVjUO8aBn0c4wd9lASbLunnclHpebN945kgHvki4OqTDVm1 eR/CkfGVMgOCyerUBMkec3yeUXqBRNImoYOF16x8n4J2oPWThbNjNvZdJP1m3F6jjqwzrr+5jWgam d4bzEN5g==; Received: from authenticated user by zero.zsh.org with local id 1lUzEb-000F92-RC; Fri, 09 Apr 2021 22:04:13 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lUzEQ-000EtG-GW; Fri, 09 Apr 2021 22:04:02 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.93.0.4) (envelope-from ) id 1lUzEQ-000MCA-5K for zsh-workers@zsh.org; Sat, 10 Apr 2021 00:04:02 +0200 In-reply-to: From: Oliver Kiddle References: To: Zsh hackers list Subject: Re: Rewrite of zsh-newuser-install (Mikael's subthread) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <85320.1618005842.1@hydra> Date: Sat, 10 Apr 2021 00:04:02 +0200 Message-ID: <85321-1618005842.162070@01py.d8bG.-OTF> X-Seq: 48450 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: Marlon wrote: > > The problem is that many new users have learned from OMZ and other > sources that they should do `source ~/.zshrc` to apply changes. I > originally had a note that said you should instead either restart your > terminal or type `exec zsh`, but then Oliver & Bart came up with the > current solution. Would it be better if we put the zrestart function in Functions/Misc so the .zshrc only needs to contain autoload -U zrestart and a comment to explain what it does? Oliver