elementary / elementary/terminal
bash history not saved upon reboot
- Dominant language
- Vala
- Stars
- 428
- Forks
- 104
- Avg merge
- 1d 54m
- Merged PRs (30d)
- 2
Description
### What Happened?
My Terminal bash history is patchy. I can understand when using multiple tabs, history can get mangled so I've started using a single tab. However, just after reboot I can't find the most recent command I ran and have to Google it again.
### Steps to Reproduce
Steps to reproduce:
1. Open Terminal
2. type command `foo`
3. close Terminal
4. Open Terminal
5. type command `bar`
6. sudo reboot
7. log in after reboot
8. Open Terminal
9. `history`
Expected results:
output includes "foo" and then "bar"
Actual results:
output "foo"
### Expected Behavior
When Terminal catches signal from system reboot, it should allow bash shell to save the session history.
Terminal should be trapping all necessary signals, including whichever signal is sent from `sudo reboot`
### OS Version
7.x (Horus)
### Software Version
Latest release (I have run all updates)
### Log Output
```shell
N/A (I tried pasting the output from `dmesg` but it was too long for the form. I'm happy to provide further info on request)
```
### Hardware Info
MacbookPro7,1, 16GB RAM
bcmwl-kernel-sources driver is installed
Contributor guide
Assessment
This issue has not been assessed yet.