Skip to content

Commit 50ac304

Browse files
committed
Honor $SHELL setting
1 parent 89ee0f0 commit 50ac304

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

server.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function startServer() {
7979
const env = Object.assign({}, process.env);
8080
env['COLORTERM'] = 'truecolor';
8181

82-
const term = pty.spawn('bash', [], {
82+
const term = pty.spawn(process.env.SHELL || '/bin/bash', [], {
8383
name: 'xterm-256color',
8484
cols: cols || 80,
8585
rows: rows || 24,

supervisor-ide-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"env": {
1515
"EDITOR": "/usr/bin/nano",
16+
"SHELL": "/bin/bash",
1617
"VISUAL": "$EDITOR",
1718
"GP_OPEN_EDITOR": "$EDITOR",
1819
"GIT_EDITOR": "$EDITOR",

0 commit comments

Comments
 (0)