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
This commit is contained in:
parent
fbebcdd42d
commit
3ea58911f9
@ -14,6 +14,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <iostream>
|
||||
#include <new>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user