3 ms·
No, just put the following in ~/.zshrc: # share history among terminals setopt share_history # append to the history instead of overwriting setopt app
by rryan 9y ago
No, just put the following in ~/.zshrc:
# share history among terminals
setopt share_history
# append to the history instead of overwriting
setopt append_history
# append to history incrementally instead of when the shell exits
setopt inc_append_history
Look ma, no more lost history!