From 3ea58911f9aeb918b820d37123a4ee778f6946e8 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 16 Aug 2010 09:12:34 +0000 Subject: [PATCH] Explicitly start bash when opening a new tab, since other shells may not handle the "--login" option. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38133 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/Shell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/terminal/Shell.cpp b/src/apps/terminal/Shell.cpp index 46fea57e37..bc1d5203d9 100644 --- a/src/apps/terminal/Shell.cpp +++ b/src/apps/terminal/Shell.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -335,7 +336,7 @@ initialize_termios(struct termios &tio) status_t Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **argv) { - const char *kDefaultShellCommand[] = { "/bin/sh", "--login", NULL }; + const char *kDefaultShellCommand[] = { "/bin/bash", "--login", NULL }; if (argv == NULL || argc == 0) { argv = kDefaultShellCommand;