Baptiste Daroussin 988b1bb0c5 sh: implement persistent history storage
Implement persistent history storage:
the strategy is simple at start: loads the existing .sh_history file
at exit dump it.

The implementation respects the HISTFILE variable and its POSIX
definition: ~/.sh_history is used if HISTFILE is not set.

to avoid sh to create the history file, set HISTSIZE to 0 or HISTFILE to
en empty value

Co-authored-by:	pstef
Reviewed by:	jilles
Differential Revision:	https://reviews.freebsd.org/D29493
2021-05-10 18:57:13 +02:00
..
2021-01-20 18:46:26 +01:00
2020-07-26 15:10:33 +00:00
2021-01-27 12:18:45 +01:00
2020-10-29 14:44:09 +00:00
2020-10-05 13:49:45 +00:00
2020-12-27 22:32:22 +01:00
2020-10-24 16:42:35 +00:00
2017-10-31 00:07:04 +00:00
2020-12-12 02:26:43 +00:00
2020-12-27 22:32:22 +01:00
2017-10-31 00:07:04 +00:00
2020-12-22 21:04:36 -08:00
2017-10-06 08:43:14 +00:00