view .zfun/zsh-autosuggestions/src/setup.zsh @ 509:cea9a184de6c

zsh: add workaround for mcfly breaking autocd
author Augie Fackler <raf@durin42.com>
date Thu, 18 Feb 2021 11:12:42 -0500
parents e1ce8897030d
children
line wrap: on
line source


#--------------------------------------------------------------------#
# 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