* integration/bash: Check TERM before enabling
This commit is contained in:
parent
917464cf56
commit
65dbbfcad3
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ __eat_enable_integration ()
|
|||
}
|
||||
|
||||
# Enable.
|
||||
test -z "$__eat_integration_enabled" && __eat_enable_integration
|
||||
test -z "$__eat_integration_enabled" && \
|
||||
test "${TERM:0:4}" = "eat-" && \
|
||||
__eat_enable_integration
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
|
|
Loading…
Add table
Reference in a new issue