Incoming changes in the sh(1) default behaviour

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 6 May 2021 23:25:01 +0200
Hello everyone

We have been working implementing the persistent history storage in sh(1).

It will now respect POSIX:
- by default the history will be saved and loaded from ~/.sh_history
- if HISTFILE is set it will use histfile instead of ~/.sh_history
- if HISTFILE is set but empty it will not load or save anything
- if HISTSIZE is set to 0 it will also not load or save anything

The change will be pushed very soon to head and probably not be MFC except if
someone manage to convince me otherwise.

https://reviews.freebsd.org/D29493

Best regards,
Bapt
Received on Thu May 06 2021 - 19:25:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC