mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 06:58:01 +00:00
[Fix #522] Do not load the terminal module in non-graphical terminals
This commit is contained in:
parent
e1974ad58d
commit
c091f71283
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
# Return if requirements are not found.
|
||||
if [[ "$TERM" == 'dumb' ]]; then
|
||||
if [[ "$TERM" == (dumb|linux|*bsd*) ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user