mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-07 22:27:44 +08:00
11 lines
373 B
Bash
11 lines
373 B
Bash
|
|
#--------------------------------------------------------------------#
|
|
# Setup #
|
|
#--------------------------------------------------------------------#
|
|
|
|
# Precmd hooks for initializing the library and starting pty's
|
|
autoload -Uz add-zsh-hook
|
|
|
|
# Asynchronous suggestions are generated in a pty
|
|
zmodload zsh/zpty
|