forked from qt-creator/qt-creator
Terminal: Fix bash shell integration on KDE
Change-Id: I7c84cee276f1ee2fd902a447b763609534285911 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -146,7 +146,7 @@ void ShellIntegration::prepareProcess(Utils::Process &process)
|
|||||||
CommandLine newCmd = {cmd.executable(), {"--init-file", tmpRc.nativePath()}};
|
CommandLine newCmd = {cmd.executable(), {"--init-file", tmpRc.nativePath()}};
|
||||||
|
|
||||||
if (cmd.arguments() == "-l")
|
if (cmd.arguments() == "-l")
|
||||||
newCmd.addArg("-l");
|
env.set("VSCODE_SHELL_LOGIN", "1");
|
||||||
|
|
||||||
cmd = newCmd;
|
cmd = newCmd;
|
||||||
} else if (cmd.executable().baseName() == "zsh") {
|
} else if (cmd.executable().baseName() == "zsh") {
|
||||||
|
|||||||
Reference in New Issue
Block a user