Behave correctly in environments without zsh/zpty

This commit is contained in:
dana 2018-01-15 07:20:37 -06:00
parent 15931f04ff
commit 66896c4999
2 changed files with 2 additions and 2 deletions

View file

@ -7,4 +7,4 @@
autoload -Uz add-zsh-hook
# Asynchronous suggestions are generated in a pty
zmodload zsh/zpty
zmodload zsh/zpty 2> /dev/null || zpty() { return 1 }

View file

@ -33,7 +33,7 @@
autoload -Uz add-zsh-hook
# Asynchronous suggestions are generated in a pty
zmodload zsh/zpty
zmodload zsh/zpty 2> /dev/null || zpty() { return 1 }
#--------------------------------------------------------------------#
# Global Configuration Variables #