From 7dd6e4653fd797b7f86e4af4041a38c7593d4cd5 Mon Sep 17 00:00:00 2001 From: Grzegorz Zdunek Date: Fri, 2 Aug 2024 16:05:40 +0200 Subject: [PATCH] Set `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` --- .../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 e4b34c934b782..1e122404e3f09 100644 --- a/web/packages/teleterm/src/services/pty/ptyHost/buildPtyOptions.ts +++ b/web/packages/teleterm/src/services/pty/ptyHost/buildPtyOptions.ts @@ -66,6 +66,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,