Hack around xdm's dumb assumption that the login shell is POSIX compliant so we no longer kill OpenSUSE

https://github.com/fish-shell/fish-shell/issues/367
Also fix some formatting
This commit is contained in:
ridiculousfish
2013-01-04 13:09:01 -08:00
parent 77f1b1f0fe
commit edb973fadc
8 changed files with 174 additions and 72 deletions

View File

@@ -2071,6 +2071,18 @@ int parser_t::parse_job(process_t *p,
}
}
// Disabled pending discussion in https://github.com/fish-shell/fish-shell/issues/367
#if 0
if (! has_command && ! use_implicit_cd)
{
if (fish_openSUSE_dbus_hack_hack_hack_hack(&args))
{
has_command = true;
p->type = INTERNAL_BUILTIN;
}
}
#endif
/* Check if the specified command exists */
if (! has_command && ! use_implicit_cd)
{
@@ -3858,3 +3870,4 @@ breakpoint_block_t::breakpoint_block_t() :
block_t(BREAKPOINT)
{
}