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
..
2017-11-20 19:49:47 +00:00
2021-01-03 23:53:37 +01:00
2019-02-10 22:23:05 +00:00
2019-02-10 22:23:05 +00:00
2019-02-10 22:23:05 +00:00
2020-04-22 21:45:43 +00:00
2020-01-01 12:06:37 +00:00
2019-01-24 23:34:51 +00:00
2020-06-04 18:09:55 +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-09-01 13:19:15 +00:00
2018-10-27 20:17:57 +00:00
2018-11-28 20:03:53 +00:00
2021-05-10 18:57:13 +02:00
2020-03-28 17:02:32 +00:00
2020-12-26 15:27:33 +01:00
2018-01-01 22:31:52 +00:00
2018-07-15 09:14:30 +00:00
2017-11-20 19:49:47 +00:00
2021-05-10 18:57:13 +02:00
2017-11-20 19:49:47 +00:00
2020-04-01 15:12:51 +00:00
2021-04-01 07:31:03 +02:00
2017-11-20 19:49:47 +00:00
2020-05-22 14:46:23 +00:00
2020-04-22 21:45:43 +00:00
2017-11-20 19:49:47 +00:00
2018-05-21 21:52:48 +00:00
2018-02-06 15:41:35 +00:00
2021-05-10 18:57:13 +02:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2019-02-24 21:05:13 +00:00
2019-02-19 21:27:30 +00:00
2019-02-19 21:27:30 +00:00
2019-01-24 11:59:46 +00:00
2017-11-20 19:49:47 +00:00
2019-01-20 22:08:49 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2021-05-10 18:57:13 +02:00
2019-02-10 22:23:05 +00: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
2021-05-10 18:57:13 +02:00
2020-08-28 15:35:45 +00:00
2019-01-03 20:22:35 +00:00
2017-11-20 19:49:47 +00:00