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=-5.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31461 invoked from network); 4 May 2022 12:10:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 May 2022 12:10:40 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1651666240; b=OnF/jDW5xXH8toGAPsLK1OkezZyRu8Smow9nqxp3T3bJ49i88XDjh6SLg1a8xZcMrgRjvYo1ll woBfDZOL1J4cWfrGY3hW3yX3I6k43dAyBp62NQ8WgYqkK+P38iMvsIzGgVavPqfN8Skl+gOvcu 7AQEeq5Rrvng8RJ6PwwyHu99joodl6QQ9Hkh4OurIHdVHSKyuIhFhmeC5OYjIcPk6SurnUPhpq oqCKrzt1Sdw+EC/jztq84OeJW93mXZhMkeJqrjihqRiZk5TFS26FwqS8U+2vHCnHDW9FolB6Kc HqUiceoZuOn6NeZGOrqUyJebIjod4WLxJNAJ/3L1tzUttw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (p3plsmtp11-06-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.44; dmarc=none header.from=rayninfo.co.uk; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1651666240; bh=kb7a0eSbzZawT/Zi/Sl9Uiex6U/xz8O8HjAl+RBJnUA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=Pd7QyOmPqd65C+Q+FmcAzBdOIPj9LV9/NTEtO5BatXqRgf42G9O3ISKTa+F897lfZToyRH+iDQ MSBRkoKSzCoe43mKBnTqvOyx3jHhxTnBILzFrSr5yJx0MipP2S1MLoqJQeKkypfbN0Q8s6wiCq VDZgZGjcbN5SiNR0rUi7ot3aPGlHh5OpBvhWVDoe+lW3Wvr7A75yfnhR/JE0RijfpRJDjSUZGa RaxXzHWt3+C0raBBCB1gO+ig6RevLn+eGA3m83ZDcbxr1+pkT6FkXk4fiWYeQV9GvkJ6PEZbmj Zg4SOY3YqOe2Y3xVcfgKwAvRoYiZJ84FVFAcCiMFlx18cw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=dUVB3KOoFaBo0UikYgfUtqVlMuFp+51niWupYexu72U=; b=rn3Dhy7uj+2PoY+rgv0/vwXGN5 lN7c2yKEP2vbfg/uYc6dfgNKbIzy4F2exRfeBGvtJvuSh48VzlyVew7h3m600zAxuIt8kTUJCCVDi kljoJQNg/1hj3taJPvRFOfjyDLREejJl9MvzjT7LngFWtP516n/TqPyE4+NbNJtlwOO5q4QtTxsWv zCR3acMLRlY4El5Ofbm0jxHIV8dvnJtNKQ4H/cuTEYZTMGGtDLkocjgi2NeS/qnt2raSstIWTlAHg npVCRm/OCbQ85viJX6yA7NVPSyQOK2Qu9TkqjFcHjeAywCwEyDN2bywDEH4MY/F7D6RTHbnZfN/Dd jXQb6mZg==; Received: from authenticated user by zero.zsh.org with local id 1nmDq3-000Ceu-S2; Wed, 04 May 2022 12:10:39 +0000 Authentication-Results: zsh.org; iprev=pass (p3plsmtp11-06-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.44; dmarc=none header.from=rayninfo.co.uk; arc=none Received: from p3plsmtp11-06-2.prod.phx3.secureserver.net ([173.201.192.44]:39551 helo=p3plwbeout11-06.prod.phx3.secureserver.net) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nmDp9-000BvN-6D; Wed, 04 May 2022 12:09:44 +0000 Received: from mailex.mailcore.me ([94.136.40.145]) by :WBEOUT: with ESMTP id mDp6n2KaqSYCcmDp7nHZ4T; Wed, 04 May 2022 05:09:41 -0700 X-CMAE-Analysis: v=2.4 cv=W8396Tak c=1 sm=1 tr=0 ts=62726d05 a=7e6w4QD8YWtpVJ/7+iiidw==:117 a=1XUAoriuO2rjmCQC64jSlQ==:17 a=4OHr2usCQUQA:10 a=IkcTkHD0fZMA:10 a=oZkIemNP1mAA:10 a=YO4PhAFzmc2_F2hDNsoA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: david@rayninfo.co.uk X-SID: mDp6n2KaqSYCc Received: from [95.145.222.163] (helo=[192.168.1.231]) by smtp12.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1nmDp5-0001EU-U4; Wed, 04 May 2022 13:09:40 +0100 Message-ID: <0ef30a74-760d-f3b2-68b8-e059484016a8@rayninfo.co.uk> Date: Wed, 4 May 2022 13:09:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: zstat Content-Language: en-US To: Roman Perepelitsa Cc: Zsh Users References: <9027a735-bc24-ca29-c2f3-6d47ea0b83bc@rayninfo.co.uk> <222722885.304310.1651593428650@mail2.virginmedia.com> From: david rayner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailcore-Auth: 8308408 X-Mailcore-Domain: 840527 X-123-reg-Authenticated: david@rayninfo.co.uk X-Originating-IP: 95.145.222.163 X-CMAE-Envelope: MS4xfB/neEbQsibdYOZVEeVK5OqXC8/KKBoTHPfAxchFCQPBGCOawY1Yequ0hYcYriZpnv+Pb6XGrxQB1DJLWytcKtqW3KOZZC6Mu7Yk+SPssN51BZj2MNbX T7NrxkmIwnTwOOYFaelJ6sU4vey5OAWtUUp5kv0xvty443MyT1RWrHUb5OJdN+WorGiszWEeY4MKGw== X-Seq: 27729 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 04/05/2022 10:49, Roman Perepelitsa wrote: >> # OK I have now 'deleted' my .zshrc (kept a copy of course) >> >> # I get the following 'odd' behaviour >> >> If I start a new gnome terminal I have zstat >> >> mint-HP-600B% zstat >> >> zstat: no files given >> >> >> # but if i reload zsh >> >> mint-HP-600B% zsh >> mint-HP-600B% zstat >> >> zsh: command not found: zstat > Which terminal are you using? > > There are several terminals out there that inject extra initialization > code into the shell that they spawn. This initialization code usually > runs between global and user zshenv and is meant to enable tighter > integration between the terminal and the shell. In practice all such > code has side effects and can leak or break things. The terminals I'm > aware of that do this are Kitty, Integrated Visual Studio Terminal, > Integrated IntelliJ Terminal, Warp, and Fig. When you manually run > `zsh` in a terminal of this kind, the new shell won't run the extra > initialization code. > > Roman. Just the standard Mint 'Gnome Terminal' I guess I used chsh -s zsh to make zsh default zzapper