diff --git a/guake/main.py b/guake/main.py index ed23fcdad..79ade7610 100644 --- a/guake/main.py +++ b/guake/main.py @@ -75,6 +75,7 @@ def main(): """ # Force to xterm-256 colors for compatibility with some old command line programs os.environ["TERM"] = "xterm-256color" + os.environ["TERM_PROGRAM"] = "guake" # do not use version keywords here, pbr might be slow to find the version of Guake module parser = OptionParser() diff --git a/releasenotes/notes/[set_term_program_name]-14f1c2e5efddde2d.yaml b/releasenotes/notes/[set_term_program_name]-14f1c2e5efddde2d.yaml new file mode 100644 index 000000000..674e03978 --- /dev/null +++ b/releasenotes/notes/[set_term_program_name]-14f1c2e5efddde2d.yaml @@ -0,0 +1,2 @@ +release_summary: > + Set TERM_PROGRAM environment variable