Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Zsh CORRECT option is unaware of AUTO_CD and CDABLE_VARS



Hello,

Copied from my question here:
https://unix.stackexchange.com/questions/537111/zsh-correct-option-is-unaware-of-auto-cd-and-cdable-vars

Is there a way to make the CORRECT option aware of AUTO_CD and
CDABLE_VARS? In this example, I would expect correction to not be
triggered. Could this be a bug?

> setopt autocd
> setopt cdablevars
> setopt correct
> vimz=/var
> vimz
zsh: correct 'vimz' to 'vim' [nyae]?

Thanks,
Cameron



Messages sorted by: Reverse Date, Date, Thread, Author