zsh-users
 help / color / mirror / code / Atom feed
From: david rayner <david@rayninfo.co.uk>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: zstat
Date: Wed, 4 May 2022 13:09:39 +0100	[thread overview]
Message-ID: <0ef30a74-760d-f3b2-68b8-e059484016a8@rayninfo.co.uk> (raw)
In-Reply-To: <CAN=4vMrJs+i=8RvkqFPALAmXTEqTKsr0pNYzMwKvjrE0kMU+2g@mail.gmail.com>


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



  reply	other threads:[~2022-05-04 12:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 14:25 zstat zzapper
2022-05-03 14:54 ` zstat Bart Schaefer
2022-05-03 15:11   ` zstat zzapper
2022-05-03 15:57     ` zstat Peter Stephenson
2022-05-03 16:34       ` zstat zzapper
2022-05-04  0:36         ` zstat Bart Schaefer
2022-05-04  6:43           ` zstat zzapper
2022-05-04  7:18             ` zstat Bart Schaefer
2022-05-04  9:31               ` zstat david rayner
2022-05-04  9:49                 ` zstat Roman Perepelitsa
2022-05-04 12:09                   ` david rayner [this message]
2022-05-04 12:26                     ` zstat zzapper
2022-05-04 13:21                       ` zstat Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ef30a74-760d-f3b2-68b8-e059484016a8@rayninfo.co.uk \
    --to=david@rayninfo.co.uk \
    --cc=roman.perepelitsa@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).