mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2026-07-21 20:11:04 +00:00
12 lines
431 B
Bash
12 lines
431 B
Bash
|
|
#--------------------------------------------------------------------#
|
|
# Setup #
|
|
#--------------------------------------------------------------------#
|
|
|
|
# Precmd hooks for initializing the library and starting pty's
|
|
autoload -Uz add-zsh-hook
|
|
autoload -Uz add-zle-hook-widget
|
|
autoload -Uz is-at-least
|
|
|
|
# Asynchronous suggestions are generated in a pty
|
|
zmodload zsh/zpty
|