diff --git a/session.js b/session.js index 77109aaf..c7ee468e 100644 --- a/session.js +++ b/session.js @@ -45,7 +45,7 @@ module.exports = class Session extends EventEmitter { } }); - this.shell = defaultShell; + this.shell = shell || defaultShell; this.getTitle(); }