emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/eat 65dbbfcad3 4/4: * integration/bash: Check TERM before


From: ELPA Syncer
Subject: [nongnu] elpa/eat 65dbbfcad3 4/4: * integration/bash: Check TERM before enabling
Date: Sun, 11 Dec 2022 04:58:39 -0500 (EST)

branch: elpa/eat
commit 65dbbfcad352f674095740c2026b57b6981d90eb
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    * integration/bash: Check TERM before enabling
---
 integration/bash | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/integration/bash b/integration/bash
index 03ca465436..56a4129cbd 100644
--- a/integration/bash
+++ b/integration/bash
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]