Redirecting nano's history file when $HOME is read‑only
Goal: Ensure that nano’s persistent search history (historylog) remains functional in production environments where the user’s home directory may be mounted read‑only or lacks write permission. Constraint: When set historylog is enabled in ~/.nanorc, nano attempts to write each exit’s search history to $HOME/.nano_history and provides no built‑in option to s