Chore terminal tweaks (#1890)

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
This commit is contained in:
Carlos Alcaide CorvoandZhihe Li authored and Zhihe Li committed 2023-09-22 18:58:14 -04:00
1 parent edd42ee927
commit 1f3689ffdf
1 file changed
+1 -1
+1 -1
View File
@@ -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,