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,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31437 invoked from network); 18 Mar 2021 23:42:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 18 Mar 2021 23:42:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1616110978; b=p6iz5+dkCPahByTZkuJ/b5VhrNKgu6DSWFEVDTwJnSx6t07bnj0wauJuHjSXUYUm5Fk9pyPN9S eNJg6wGING+jnAEtQyp0T0/elKGkdWgCo0ulnFkDURxNyA/hbfCQTArC+GGnvvMUdzw6pPfUkj OE2pjkjYXJU9NpjlBnBE9OKiTrDt1f2BtemylMiyW56tukzmIsH2T2tsYYmW821pPY1uQaRAP3 QZoEN4+VS7SKj0bYLgFyCC9f5Mlb2Tp1zCuj790FBvEQ4mTHuWVI5gyVHI17svavGbTK6CKUXk AuKc3PEUSyEIeWlXZo/7xD8294sjKBBNFca3Syjir8BbVg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-vk1-f180.google.com) smtp.remote-ip=209.85.221.180; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1616110978; bh=cGQeUL+29jOo4RujIoWS8FdusbOK5MAkwhs7AxkpgGE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=0+Ots0S4e+kZunx5vynA7jozuzfHacHafeAWHIBle7v3AaYvFid+UC+i5TLpMcPsggjTJlnNan qM5EkbRq34CXMusuE/IncqLeGEUmkFQUvh1b/HryIFNZR5kdjF7Cbuu+WHoD5xS1QRfRKLrkv4 t5u9njKZFcgVsxjL9MRtk20+REmf1rZtn4UPoRMd9ziC6Cn6/iy59jE9101jRYgHBuDzkajkYF WYyWNovK53f9Om5+YbP/39aeBYF2Oy6di65RHVfOKtQJVIk4aKEaDIHJ+/vNbDNghEmlc20CI3 0vis1dEKa3vlhYlo+Kw9+3ijPlhh4GiIsm1GrJ/4Nd0l7A==; 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: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:In-Reply-To:References; bh=q7GOukcOJRkq4ORAy2yfpfP5Ka6OHsvMeq1l9+008yo=; b=u0zge5ebx83ZOvoWyEeGzpfhIM D/5XcrZc85sWTYqWH9EQI8QYxmTDYmwsWlfVkrQ16/DqEWH1EQrdWIT1XkBp0Xd8O+0zHZiQvTpir Rm0HuqHwE0GWWM9L8wiJInj/ckMUVxtAurc4OkIDKcBKsVloifXW8KKnRlYvPp9RdKCh5xmU+TP6X c1Af0Im/e04wKlzn8xHq1SFQl4dkZd+Rd4f7eW5GvDH3qkArnTz/PKUo5hGMCx08gHtk5uQZ4TFoy WXDHUS1GQoy3qptf+jt3cXrmG1w3n3GgvqSDjRgRIxSc0/pSy1TgJWbPebBVDsSDswiOu/RBMfkqP MJZwHlgg==; Received: from authenticated user by zero.zsh.org with local id 1lN2I5-000Nnt-U7; Thu, 18 Mar 2021 23:42:57 +0000 Authentication-Results: zsh.org; iprev=pass (mail-vk1-f180.google.com) smtp.remote-ip=209.85.221.180; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-vk1-f180.google.com ([209.85.221.180]:33563) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lN2Hq-000NdY-Pz; Thu, 18 Mar 2021 23:42:43 +0000 Received: by mail-vk1-f180.google.com with SMTP id b10so1727550vkl.0 for ; Thu, 18 Mar 2021 16:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=q7GOukcOJRkq4ORAy2yfpfP5Ka6OHsvMeq1l9+008yo=; b=U8+duRlzkFNO8jg9e/nA8vpbRplfLhncpBe9+jvncSJf5VPRX+eZmptiDxFZB6Fov6 wVHg1Sjqmsb0bBt1HWcJD5+SLOPcGoHjELIFdbazcBadGGZkeqqRHZneiUFXxKHGt0/C 7ejcVLOx58BuNDZeByszcx+HsaHoYblF9fGMWf8KWCNKP2RMNX1ngNkkUgDXkasLEqhm +wWsEIcM/OzrraElIoR9CV9O0FcORIGzvQOVyTmJlTAWKl8Lqp1dAgciQSU0SVGR9IoO cbmsQ2YGSIyNVh37mreSPf056LqxaqAxLTGhSk1Ef/W2gPCpetqeotzWR3Doyo8e4leg tezw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=q7GOukcOJRkq4ORAy2yfpfP5Ka6OHsvMeq1l9+008yo=; b=ko5A3frL1A50uvF71dtcr88S4yfIUAIDXCnyYuacNZgbEA0cMkhQMvLzwxGfchT6Q2 4gV/Qf6TVPB4OIVksgB0HYLRRObzPXKjPx6VsEftnZxLkgJAcweUCPGmvTnIAupgXMz7 hI0WaXjIc3ieVCmz+LjwImFnky4bFUD3iVLzU8Nfmhylpr1E9GhQTApleB0VStCprF05 PRFYAkVj3ka/40dn8dAbQ12iDjJvK30PAaR2Sle3SRfI/iQ/cpv/jjDnzpkiPaWdSeqZ 7je2puu3qANFNWr75k6lOtDjhie/mVzxNo/nK7rLw7NGLYgqgjCuykD2lk+S6dL6XJD9 KrgA== X-Gm-Message-State: AOAM532vHwrjKP6ZSdIa7lQrPZZNboidrsFhzVrJYqUPgKfOf4ILyxC9 G9Hlhy0AFyQjALSocuLqtBnhimcjIMDFL/J64cwbaj8GvSs= X-Google-Smtp-Source: ABdhPJzzx1lXmLRoUdCOrMLyr7Gmi6CUYUTnfiyV8Ce46vvxShT0yf8dbNwQO9114JlAgloCaZ3xh7pAcYMDaXHpU2M= X-Received: by 2002:ac5:c7b9:: with SMTP id d25mr1341554vkn.24.1616110961543; Thu, 18 Mar 2021 16:42:41 -0700 (PDT) MIME-Version: 1.0 From: Experts Ravioli Date: Thu, 18 Mar 2021 23:42:30 +0000 Message-ID: Subject: Setting cdablevars adds 10-15s to run time for non existing command To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="000000000000c7ccc705bdd82753" X-Seq: 48186 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: --000000000000c7ccc705bdd82753 Content-Type: text/plain; charset="UTF-8" Hey everyone. If I use `setopt cdablevars` in my .zshrc and then I try to run a `insert_random_command_name_here` (which does not exist) the prompt returns after 10-15s. This happens with Alacritty, Gnome Terminal and Tilix. Does not happen if I switch to bash. Does not happen if I comment out `cdablevars`. When I say run time, I mean actual time on the clock. If I run the command through `time insert_random_command_name_here` it takes the same amount, but the output is: ``` % time insert_random_command_name_here zsh: command not found: insert_random_command_name_here insert_random_command_name_here 0,00s user 0,00s system 79% cpu 0,002 total ``` Here some more info: ``` % uname -a Linux ### 5.10.24-051024-generic #202103171801 SMP Wed Mar 17 18:42:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux % lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal % alacritty --version alacritty 0.7.2 % zsh --version zsh 5.8 (x86_64-ubuntu-linux-gnu) ``` ``` % cat .zshrc #!/usr/bin/zsh #disable ctrl-s ctrl-q stty -ixon # color autoload -U colors colors # history setopt hist_ignore_all_dups inc_append_history extended_history HISTFILE="$ZDOTDIR/history" HISTSIZE=8192 SAVEHIST=16384 # keybindings bindkey -v bindkey "^B" beginning-of-line bindkey "^R" history-incremental-search-backward # remap Insert to Print Screen xmodmap -e "keycode 118 = Print" # options # awesome cd movements from zshkit setopt autocd autopushd pushdminus pushdsilent pushdtohome *cdablevars* DIRSTACKSIZE=5 ``` ``` % cat .zshenv #!/usr/bin/zsh # XDG export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$XDG_CONFIG_HOME/local/share" export XDG_CACHE_HOME="$XDG_CONFIG_HOME/cache" # zsh export ZDOTDIR="$XDG_CONFIG_HOME/zsh" ``` Does anyone have any idea? Thanks a bunch! --000000000000c7ccc705bdd82753 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey everyone.

If I use `seto= pt cdablevars` in my .zshrc and then I try to run a `insert_random_command_= name_here` (which does not exist) the prompt returns after 10-15s.
This happens with Alacritty, Gnome Terminal and Tilix. Does not happe= n if I switch to bash. Does not happen if I comment out `cdablevars`.
=

When I say run time, I mean actual time on the clock. I= f I run the command through `time insert_random_command_name_here` it takes= the same amount, but the output is:

```
=
% time insert_random_command_name_here
zsh: command not found: inse= rt_random_command_name_here
insert_random_command_name_here=C2=A0 0,00s = user 0,00s system 79% cpu 0,002 total
```

Here some more info:


```<= /div>
% uname -a
Linux ### 5.10.24-051024-generic #2021031718= 01 SMP Wed Mar 17 18:42:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

= % alacritty --version
alacritty 0.7.2

% = zsh --version
zsh 5.8 (x86_64-ubuntu-linux-gnu)
```

```
% cat .zshrc
#!/usr/bin/z= sh
#disable ctrl-s ctrl-q
stty -ixon

# color
autoload -U co= lors
colors

# history
setopt hist_ignore_all_dups inc_append_h= istory extended_history
HISTFILE=3D"$ZDOTDIR/history"
HISTS= IZE=3D8192
SAVEHIST=3D16384

# keybindings
bindkey -v
bindke= y "^B" beginning-of-line
bindkey "^R" history-increm= ental-search-backward

# remap Insert to Print Screen
xmodmap -e &= quot;keycode 118 =3D Print"

# options
# awesome cd movements= from zshkit
setopt autocd autopushd pushdminus pushdsilent pushdtohome = cdablevars
DIRSTACKSIZE=3D5
```

```
% cat .zshenv
#!/usr/bin/zsh

# XDG
export XDG_CONFIG_HOME=3D"$HOME/.config"
export XDG_DATA_HOME= =3D"$XDG_CONFIG_HOME/local/share"
export XDG_CACHE_HOME=3D&quo= t;$XDG_CONFIG_HOME/cache"

# zsh

export ZDOTDIR=3D"$= XDG_CONFIG_HOME/zsh"
```

Does anyon= e have any idea?

Thanks a bunch!
--000000000000c7ccc705bdd82753--