mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
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
2 changed files with 4 additions and 0 deletions
|
@ -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 a new issue