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!