Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2021 23:25:01 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        current@freebsd.org
Subject:   Incoming changes in the sh(1) default behaviour
Message-ID:  <20210506212501.sm33y4on3pbattjj@aniel.nours.eu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210506212501.sm33y4on3pbattjj>