Avoids errors when running prezto in Emacs terminals
This commit is contained in:
parent
bf9dbfd5b9
commit
2648a23a60
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
# Return if requirements are not found.
|
||||
if [[ "$TERM" == 'dumb' ]]; then
|
||||
if [[ "$TERM" == 'dumb' ]] || [[ "$TERM" == 'eterm-color' ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue