Terminal: Fix bash shell integration on KDE

Change-Id: I7c84cee276f1ee2fd902a447b763609534285911
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-09-28 15:55:19 +02:00
parent 7235e977ff
commit 9e31654339

View File

@@ -146,7 +146,7 @@ void ShellIntegration::prepareProcess(Utils::Process &process)
CommandLine newCmd = {cmd.executable(), {"--init-file", tmpRc.nativePath()}};
if (cmd.arguments() == "-l")
newCmd.addArg("-l");
env.set("VSCODE_SHELL_LOGIN", "1");
cmd = newCmd;
} else if (cmd.executable().baseName() == "zsh") {