the most precious thing to a computer should be the human input, that's the thing that your brain worked on and that's what primarily should be recorded. (that's what source code is) Computers are deterministic, replaying your input should yield the same output again.
That is why it is soo important to save .bash_history (seriously, that's not a dot file you should be searching hard for)
saving other things are "nice to haves"