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
..
2020-01-01 12:06:37 +00:00
2018-11-09 14:58:24 +00:00
2018-11-09 14:58:24 +00:00
2018-11-09 14:58:24 +00:00
2020-03-28 17:02:32 +00:00
2020-12-26 15:27:33 +01:00
2020-04-01 15:12:51 +00:00
2021-04-01 07:31:03 +02:00
2019-02-24 21:05:13 +00:00
2021-05-10 18:57:13 +02:00
2021-04-11 09:23:14 +02:00
2021-04-11 09:23:14 +02:00
2018-11-09 14:58:24 +00:00