mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
Shell: Treat builtin names as programs and suggest them
This commit is contained in:
committed by
Andreas Kling
parent
87cb28fcf7
commit
1469d20e63
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user