diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-04 12:47:11 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-04 12:51:38 +0200 |
| commit | 8d3d0789172ab3f6580d04cd4bbafaef5e108ac7 (patch) | |
| tree | 797769b90f9afa8974db8943fbd48d023e94115d /scripts/basic | |
| parent | 9c46a0688576dd8c67d2fc24b68c07402da14fc8 (diff) | |
| download | busybox-w32-8d3d0789172ab3f6580d04cd4bbafaef5e108ac7.tar.gz busybox-w32-8d3d0789172ab3f6580d04cd4bbafaef5e108ac7.tar.bz2 busybox-w32-8d3d0789172ab3f6580d04cd4bbafaef5e108ac7.zip | |
shell: empty HISTFILE disables history saving, just as unset one did
The rationale here is that unsetting HISTFILE in /etc/profile
does not "stick": if it's unset, the default one is set later
(after /etc/profile is executed) by the shell.
But setting (and exporting, so it is inherited by all
(grand)child shells) an empty one works.
function old new delta
save_history 296 316 +20
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
