We need to autoload is-at-least for it to be available
This error was hidden inside the zpty
This commit is contained in:
parent
7e048c3f53
commit
fdf4502c5c
|
@ -35,6 +35,8 @@ _zsh_autosuggest_capture_completion_widget() {
|
|||
zle -N autosuggest-capture-completion _zsh_autosuggest_capture_completion_widget
|
||||
|
||||
_zsh_autosuggest_capture_setup() {
|
||||
autoload -Uz is-at-least
|
||||
|
||||
# There is a bug in zpty module in older zsh versions by which a
|
||||
# zpty that exits will kill all zpty processes that were forked
|
||||
# before it. Here we set up a zsh exit hook to SIGKILL the zpty
|
||||
|
|
|
@ -517,6 +517,8 @@ _zsh_autosuggest_capture_completion_widget() {
|
|||
zle -N autosuggest-capture-completion _zsh_autosuggest_capture_completion_widget
|
||||
|
||||
_zsh_autosuggest_capture_setup() {
|
||||
autoload -Uz is-at-least
|
||||
|
||||
# There is a bug in zpty module in older zsh versions by which a
|
||||
# zpty that exits will kill all zpty processes that were forked
|
||||
# before it. Here we set up a zsh exit hook to SIGKILL the zpty
|
||||
|
|
Loading…
Reference in New Issue