We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f421de2 commit 20c0fc4Copy full SHA for 20c0fc4
packages/protocol/src/node/server.ts
@@ -85,9 +85,7 @@ export class Server {
85
throw new Error(`unrecognized platform "${platform}"`);
86
}
87
initMsg.setOperatingSystem(operatingSystem);
88
- if (global.process.env.SHELL) {
89
- initMsg.setShell(global.process.env.SHELL);
90
- }
+ initMsg.setShell(os.userInfo().shell || global.process.env.SHELL);
91
const srvMsg = new ServerMessage();
92
srvMsg.setInit(initMsg);
93
connection.send(srvMsg.serializeBinary());
0 commit comments