cleanup: Consolidate autoloads

This commit is contained in:
Eric Freese
2020-01-26 21:15:47 -07:00
parent ae315ded4d
commit 19e375bbc8
3 changed files with 6 additions and 6 deletions

View File

@@ -45,8 +45,6 @@ _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