1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:17:44 +00:00

Shell: Add an option to autosave history every N ms

...and set it to 10 seconds by default.
This commit is contained in:
Ali Mohammad Pur 2021-05-11 11:42:36 +04:30 committed by Linus Groh
parent 4d01183f5c
commit a527256356
4 changed files with 45 additions and 0 deletions

View file

@ -38,3 +38,5 @@ if [ "$(id -u)" = "0" ] {
}
export PROMPT="\\X\\u@\\h:\\w\\a\\e[$prompt_color;1m\\h\\e[0m:\\e[34;1m\\w\\e[0m \\p "
export HISTORY_AUTOSAVE_TIME_MS=10000