From b8eba0f39ae871f1f92dd76b8be441cd299e8a72 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 2 Jul 2015 21:17:33 +0200 Subject: [PATCH] Minor tweak to strip VTE_VERSION from the environment, as it puts junk chars into prompt on some distros. --- terminator | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminator b/terminator index 7175d264..d7ec9015 100755 --- a/terminator +++ b/terminator @@ -50,6 +50,9 @@ from terminatorlib.util import dbg, err from terminatorlib.layoutlauncher import LayoutLauncher if __name__ == '__main__': + # Not used in the 0.2x versions of VTE and can cause unwanted chars in console. + if os.environ.has_key('VTE_VERSION'): + del os.environ['VTE_VERSION'] dbus_service = None dbg ("%s starting up, version %s" % (APP_NAME, APP_VERSION))