feat: add support for shell builtins to command completion

This commit is contained in:
2026-06-16 18:41:56 +02:00
parent f616bf6a86
commit 4261212913
4 changed files with 34 additions and 1 deletions
+15
View File
@@ -130,3 +130,18 @@ int exec_external(const char* cmd, const char* args);
// ---- Tab completion (tabcompletion.cpp) ----
int get_completions(char* string, char** array, int arrayMax);
// ---- Shell builtins ----
constexpr const char* shell_builtins[] = {
"help",
"ls",
"cd",
"pwd",
"echo",
"set",
"unset",
"true",
"false",
"exit"
};