mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 10:44:57 +00:00
Shell: Save the history when quitting via the exit builtin
This commit is contained in:
parent
ce61cad933
commit
abfcd7b1b8
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ int Shell::builtin_exit(int, const char**)
|
|||
}
|
||||
}
|
||||
stop_all_jobs();
|
||||
save_history();
|
||||
printf("Good-bye!\n");
|
||||
exit(0);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue