mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-23 10:41:52 +00:00
Shell: Add support for $0,$1,...
This commit is contained in:
parent
2f97590409
commit
0b57cdff82
Notes:
sideshowbarker
2024-07-19 02:25:13 +09:00
Author: https://github.com/alimpfard
Commit: 0b57cdff82
Pull-request: https://github.com/SerenityOS/serenity/pull/3473
Reviewed-by: https://github.com/bugaevc
3 changed files with 33 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue