File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ _zsh_autosuggest_async_request() {
44
44
45
45
# There's a weird bug here where ^C stops working unless we force a fork
46
46
# See https://github.com/zsh-users/zsh-autosuggestions/issues/364
47
- command true
47
+ autoload -Uz is-at-least
48
+ is-at-least 5.8 || command true
48
49
49
50
# Read the pid from the child process
50
51
read _ZSH_AUTOSUGGEST_CHILD_PID < & $_ZSH_AUTOSUGGEST_ASYNC_FD
Original file line number Diff line number Diff line change @@ -810,7 +810,8 @@ _zsh_autosuggest_async_request() {
810
810
811
811
# There's a weird bug here where ^C stops working unless we force a fork
812
812
# See https://github.com/zsh-users/zsh-autosuggestions/issues/364
813
- command true
813
+ autoload -Uz is-at-least
814
+ is-at-least 5.8 || command true
814
815
815
816
# Read the pid from the child process
816
817
read _ZSH_AUTOSUGGEST_CHILD_PID < & $_ZSH_AUTOSUGGEST_ASYNC_FD
You can’t perform that action at this time.
0 commit comments