From a9b5d6ae662913ec626dfa8036694fa935233231 Mon Sep 17 00:00:00 2001 From: Grzegorz Zdunek Date: Mon, 5 Aug 2024 18:07:23 +0200 Subject: [PATCH] Set `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` (#45065) --- .../teleterm/src/services/pty/ptyHost/buildPtyOptions.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/packages/teleterm/src/services/pty/ptyHost/buildPtyOptions.ts b/web/packages/teleterm/src/services/pty/ptyHost/buildPtyOptions.ts index 41b5fd18d38f7..9a90878dae7f4 100644 --- a/web/packages/teleterm/src/services/pty/ptyHost/buildPtyOptions.ts +++ b/web/packages/teleterm/src/services/pty/ptyHost/buildPtyOptions.ts @@ -56,6 +56,8 @@ export async function buildPtyOptions( const combinedEnv = { ...process.env, ...shellEnv, + TERM_PROGRAM: 'Teleport_Connect', + TERM_PROGRAM_VERSION: settings.appVersion, TELEPORT_HOME: settings.tshd.homeDir, TELEPORT_CLUSTER: cmd.clusterName, TELEPORT_PROXY: cmd.proxyHost,