6 ms·
I was already using zsh and somehow the MacOS upgrade path for making zsh the new default shell deleted my shell history. This was a short term blow to product
by mistahenry 7y ago
I was already using zsh and somehow the MacOS upgrade path for making zsh the new default shell deleted my shell history.
This was a short term blow to productivity since I had only made external notes on about half the difficult command line tasks I’d completed since getting this MacBook in 2017.
How do people generally go about backing up this file? Or do most people not
- alexis_fr 7y agoI use several tabs and histories override each other, meaning I could never count on a command being present in the history. I’ve always been told an experienced dev has a folder with txt notes, so that is what I did.
- jcelerier 7y agoI'm pretty sure that you can configure zsh to write to zsh_history every command to prevent this
- catalogia 7y agosetopt inc_append_history
- DelightOne 7y agoThank you! I did not know that this option exists!
- javagram 7y ago> How do people generally go about backing up this file? Or do most people not If you use Time Machine it should be backed up. I have two hard drives I rotate on and off my computer regularly for Time Machine for redundancy, it’s always worked well so far.