Releases: vitobotta/zsh-history-sync
Releases · vitobotta/zsh-history-sync
v1.0.9
- Improvement on the last change
v1.0.8
- Ensure the last command executed on the current computer comes after the commands coming from other computers
v1.0.7
- Switch from OpenSSL to GPG for the encryption, so we don't have to deal with different versions of OpenSSL
v1.0.6
- Reset local changes before merging remote changes
v1.0.5
- Improve conflict resolution
- Use a lock file to prevent multiple instances of the script from running at the same time. This helps in case the script is executed ina shell while it's also running due to crontab
v1.0.4
- Made a change to correctly preserve the order of commands when merging remote and local histories
v1.0.3
- Fix git conflicts automatically
v1.0.2
The history is now encrypted before being pushed to your git repo.
Upgrading is easy:
- Remove the lines added by the installer to .zshrc
- In a new terminal (so it doesn't execute the old code), remove the old unencrypted
zsh_history
file from your repo, commit and push, then ensure the copy of the repo is updated also on the other computers.
- Rerun the installer and source ~/.zshrc (or open a new terminal)
v1.0.1
- Switched to Git for syncing as it's more reliable than Dropbox etc
- Added license
v1.0.0
First version. See README for details.