[Bug 289970] FreeBSD Installer live system: history alias not available

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Oct 2025 12:25:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289970

--- Comment #5 from Rafael Grether <devnull@apt322.org> ---
(In reply to Graham Perrin from comment #3)
In my understanding, 'persistent history support' referred only to history
support, not necessarily to the 'history' command.

I don't know if the manual is outdated, but for the /bin/sh shell, the
'history' command is listed as not supported for the /bin/sh shell:

Command    Standalone    csh(1)    sh(1)
history    No            Yes       No

In the "man sh", about persistent history support:
HISTFILE File used for persistent history storage. If unset ~/.sh_history will
be used.

In my understanding, the 'persistent history' functionality referred to the
creation of .sh_history, which can be accessed using the 'fc -l' command.

-- 
You are receiving this mail because:
You are the assignee for the bug.