First pass at async functionality

This commit is contained in:
Eric Freese
2016-07-19 21:04:18 -06:00
parent debbffc79a
commit ab8f295225
9 changed files with 191 additions and 55 deletions

10
src/setup.zsh Normal file
View File

@@ -0,0 +1,10 @@
#--------------------------------------------------------------------#
# 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