diff --git a/Shell/Shell.cpp b/Shell/Shell.cpp index 3ab914d450..27f551a855 100644 --- a/Shell/Shell.cpp +++ b/Shell/Shell.cpp @@ -345,6 +345,7 @@ int Shell::builtin_exit(int, const char**) } } stop_all_jobs(); + save_history(); printf("Good-bye!\n"); exit(0); return 0;