# terminal: Set \`TERM_PROGRAM\` and \`TERM_PROGRAM_VERSION\` environment variables in integrated terminal \(\#14213\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d49727ff100d8a518cf5c245eb88d9429729c817)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d49727ff100d8a518cf5c245eb88d9429729c817

Requested commit: d49727ff100d8a518cf5c245eb88d9429729c817

Commit: d49727ff100d8a518cf5c245eb88d9429729c817

Tree: 017cea00797c74916a76c0e6a6c26f6484692ffb

Author: Donough Liu

Committer: GitHub

## Message

```
terminal: Set `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` environment variables in integrated terminal (#14213)

![image](https://github.com/zed-industries/zed/assets/31354274/9d1c5410-897b-40a1-8256-2d7e207f69ff)

These two environment variables are essential when people need to detect
terminal type and do something. Many popular terminals set them.

fixes https://github.com/zed-industries/zed/issues/4571

Release Notes:

- Set `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` environment variables in
the integrated terminal
([#4571](https://github.com/zed-industries/zed/issues/4571)).

```

## Parents

- [c195c4ddff9e9a1fe198794a76a404ca026008be](https://git.cafe/gitcafe/zed/commit/c195c4ddff9e9a1fe198794a76a404ca026008be?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d49727ff100d8a518cf5c245eb88d9429729c817?format=markdown)
