* integration/bash: Check TERM before enabling

This commit is contained in:
Akib Azmain Turja 2022-12-11 14:50:47 +06:00
parent 917464cf56
commit 65dbbfcad3
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

View file

@ -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