Avoids errors when running prezto in Emacs terminals

This commit is contained in:
Andrew Schwartzmeyer 2014-09-26 02:08:49 -07:00
parent bf9dbfd5b9
commit 2648a23a60
No known key found for this signature in database
GPG key ID: D50036A9A84A216F

View file

@ -6,7 +6,7 @@
#
# Return if requirements are not found.
if [[ "$TERM" == 'dumb' ]]; then
if [[ "$TERM" == 'dumb' ]] || [[ "$TERM" == 'eterm-color' ]]; then
return 1
fi