1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-04 21:47:37 +00:00

Shell: Add support for $0,$1,...

This commit is contained in:
AnotherTest 2020-09-13 13:59:34 +04:30 committed by Andreas Kling
parent 2f97590409
commit 0b57cdff82
3 changed files with 33 additions and 0 deletions

View file

@ -209,6 +209,8 @@ int main(int argc, char** argv)
parser.parse(argc, argv);
shell->current_script = argv[0];
if (!skip_rc_files) {
auto run_rc_file = [&](auto& name) {
String file_path = name;