Chore terminal tweaks (#1890)
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
This commit is contained in:
1 parent
edd42ee927
commit
1f3689ffdf
1 file changed
+1
-1
@@ -119,7 +119,7 @@ ipcMain.on('createTerminal', (event, payload) => {
|
||||
const { id, cols, rows } = payload;
|
||||
const { sender } = event;
|
||||
const terminalShell =
|
||||
os.platform() === 'win32' ? 'powershell.exe' : '/bin/bash';
|
||||
os.platform() === 'win32' ? 'powershell.exe' : process.env.SHELL || '/bin/bash';
|
||||
const ptyProcess = pty.spawn(terminalShell, [], {
|
||||
name: 'xterm-color',
|
||||
cols,
|
||||
|
||||
Reference in new issue
Block a user