Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
arno_v
· 4y ago · 0 comments
I will try this, recently mine got truncated (don't know why) and it's super annoying.
Comments
[–]
euoia
4y ago
If you have time machine, you may be able to recover the old history file.
[–]
saagarjha
4y ago
I lost two history files to the ether, and repaired several more with Time Machine before I got fed up with dealing with this anymore. (I still have Time Machine enabled, but I haven't had to restore my bash history from it in years.)
[–]
mmsc
4y ago
For some reason, macOS will truncate your bash_history if your free space on your drive is low. No idea why they chose to truncate a small text file.