diff options
author | 2013-01-04 13:09:01 -0800 | |
---|---|---|
committer | 2013-01-04 13:09:01 -0800 | |
commit | edb973fadc8d359aa212999d8f447b0de9589789 (patch) | |
tree | 4aebedb5937b567100243bac071853f2bc398a78 /parser.cpp | |
parent | 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843 (diff) |
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
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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) { } + |