[Fix #522] Do not load the terminal module in non-graphical terminals

This commit is contained in:
Sorin Ionescu 2014-01-09 20:07:40 -05:00
parent e1974ad58d
commit c091f71283

View file

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