.bash_history truncated after Terminal update #15752

Open
opened 2026-01-31 04:47:23 +00:00 by claunia · 0 comments
Owner

Originally created by @GPHemsley-RELX on GitHub (Nov 1, 2021).

Windows Terminal version (or Windows build number)

1.11.2921.0

Other Software

Ubuntu 20.04 (WSL1)

Steps to reproduce

I can't say for sure if Windows Terminal is to blame here (as opposed to some overzealous enterprise sanitizing, for example), but I figured I'd file this just in case.

If it is, then I suspect this is vaguely what happened:

  • Install Windows Terminal via the store.
  • Have multiple instances of the same Ubuntu running.
  • Upgrade versions, which forcibly closes Terminal and its running sessions. (#6726)

All I really know is that .bash_history is now empty and a new version of Terminal was recently released.

Expected Behavior

Some copy of .bash_history (from some instance) is present. In other words, whatever it was doing before.

Actual Behavior

.bash_history is truncated and no history from any instance is available.

Originally created by @GPHemsley-RELX on GitHub (Nov 1, 2021). ### Windows Terminal version (or Windows build number) 1.11.2921.0 ### Other Software Ubuntu 20.04 (WSL1) ### Steps to reproduce I can't say for sure if Windows Terminal is to blame here (as opposed to some overzealous enterprise sanitizing, for example), but I figured I'd file this just in case. If it is, then I suspect this is vaguely what happened: * Install Windows Terminal via the store. * Have multiple instances of the same Ubuntu running. * Upgrade versions, which forcibly closes Terminal and its running sessions. (#6726) All I really know is that .bash_history is now empty and a new version of Terminal was recently released. ### Expected Behavior Some copy of .bash_history (from some instance) is present. In other words, whatever it was doing before. ### Actual Behavior .bash_history is truncated and no history from any instance is available.
claunia added the Needs-TriageNeeds-Tag-FixResolution-No-ReproNeeds-Attention labels 2026-01-31 04:47:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15752