mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:45:07 +00:00
Shell: Treat builtin names as programs and suggest them
This commit is contained in:
parent
87cb28fcf7
commit
1469d20e63
2 changed files with 12 additions and 0 deletions
|
@ -1373,6 +1373,10 @@ void Shell::cache_path()
|
|||
}
|
||||
}
|
||||
|
||||
// add shell builtins to the cache
|
||||
for (const auto& builtin_name : builtin_names)
|
||||
cached_path.append(escape_token(builtin_name));
|
||||
|
||||
quick_sort(cached_path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue