diff options
author | Marcus Tillmanns <[email protected]> | 2023-09-28 15:55:19 +0200 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2023-09-28 14:03:06 +0000 |
commit | 9e3165433911d7ee799fc1abfe1d67f65a4fcce2 (patch) | |
tree | 58ea96a845e8b997d2c175e8f7b920f87f0b77b4 /src/plugins/terminal/shellintegration.cpp | |
parent | 7235e977ffb9e0802091545d1f3e6abb17700135 (diff) |
Terminal: Fix bash shell integration on KDE
Change-Id: I7c84cee276f1ee2fd902a447b763609534285911
Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/plugins/terminal/shellintegration.cpp')
-rw-r--r-- | src/plugins/terminal/shellintegration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/terminal/shellintegration.cpp b/src/plugins/terminal/shellintegration.cpp index 8cd6acd7443..cc5c50706ea 100644 --- a/src/plugins/terminal/shellintegration.cpp +++ b/src/plugins/terminal/shellintegration.cpp @@ -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") { |