1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

Shell: Treat builtin names as programs and suggest them

This commit is contained in:
AnotherTest 2020-05-17 15:04:22 +04:30 committed by Andreas Kling
parent 87cb28fcf7
commit 1469d20e63
2 changed files with 12 additions and 0 deletions

View file

@ -174,6 +174,14 @@ private:
#undef __ENUMERATE_SHELL_BUILTIN
constexpr static const char* builtin_names[] = {
#define __ENUMERATE_SHELL_BUILTIN(builtin) #builtin,
ENUMERATE_SHELL_BUILTINS()
#undef __ENUMERATE_SHELL_BUILTIN
};
ExitCodeOrContinuationRequest::ContinuationRequest m_should_continue { ExitCodeOrContinuationRequest::Nothing };
StringBuilder m_complete_line_builder;
bool m_should_break_current_command { false };