Skip to content

Commit eed0c3b

Browse files
authored
Fix duplicated venv prompt (#23201)
Resolves: #23193 #23184 Resolve duplicated (.venv) prompt for users terminal. Issue came from: #23080
1 parent 7cad63b commit eed0c3b

File tree

1 file changed

+1
-1
lines changed
  • src/client/terminals/envCollectionActivation

1 file changed

+1
-1
lines changed

src/client/terminals/envCollectionActivation/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ function getPromptForEnv(interpreter: PythonEnvironment | undefined, env: Enviro
468468
return undefined;
469469
}
470470
if (interpreter.type === PythonEnvType.Virtual && env.VIRTUAL_ENV_PROMPT) {
471-
return `(${env.VIRTUAL_ENV_PROMPT}) `;
471+
return `${env.VIRTUAL_ENV_PROMPT}`;
472472
}
473473
return `(${interpreter.envName}) `;
474474
}

0 commit comments

Comments
 (0)