Skip to content
Myr

[zsh] Don't run precmd hooks in cd widget (#2340)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

`precmd` hooks expect the Zsh Line Editor to not be active. Running these when the ZLE is active can lead to unpredictable results. See https://github.com/marlonrichert/zsh-autocomplete/issues/180

authored by Marlon Richert · committed by GitHub · parent fcd8965 · Browse files · 1 file+4 added−18 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−18 removed

  • other:+4 added−18 removed

1 file+4 added−18 removed

modified:shell/key-bindings.zsh+4 added-18 removed