FS#56841 - [mkinitcpio-busybox] ash doesn't load command history from file

Attached to Project: Arch Linux
Opened by Ceriel Jacobs (cj1) - Sunday, 24 December 2017, 10:10 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 18 February 2018, 19:57 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Arch BusyBox v1.27.2 (ash) config contains CONFIG_FEATURE_EDITING_SAVEHISTORY is not set

For (read-only) initramfs recovery environments there is no need to save history. But there can be a need to load history. Unfortunately loading and saving are no separate features to configure.

Having CONFIG_FEATURE_EDITING_SAVEHISTORY enabled will allow ash loading a HISTFILE and/or .ash_history file. <https://git.busybox.net/busybox/tree/shell/ash.c#n13950>

Pre-loaded history improves human efficiency and reduced system recovery times, because it allows to:
1. remember
2. search
3. insert
4. prevent typing mistakes
in commands.
And this all with the press of the key up button (or Ctrl+R).

Please do mind changing Busybox
CONFIG_FEATURE_EDITING_SAVEHISTORY is not set
to CONFIG_FEATURE_EDITING_SAVEHISTORY=y in
<https://git.archlinux.org/svntogit/packages.git/tree/trunk/config?h=packages/mkinitcpio-busybox#n97>
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 18 February 2018, 19:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  mkinitcpio-busybox 1.28.1-1

Loading...