0.1.1 • Published 4 years ago

sync-zsh-history v0.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

Installation

 npm i sync-zsh-history -g

Usage

create a file under the synced directory of some cloud storage service, let's say ~/dropbox/.zsh_history

synczshistory ~/dropbox/.zsh_history

it will merge ~/dropbox/.zsh_history and ~/.zsh_history, remove duplicated commands, and write the results back to both, then you can merge it in another machine.

Automatic

wget https://raw.githubusercontent.com/mrzzcn/sync-zsh-history/master/com.github.mrzzcn.sync-zsh-history.plist

# Before this, you may want to change trigger time and log file location.
launchctl load -w com.github.mrzzcn.sync-zsh-history.plist
0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

7 years ago

1.0.5

7 years ago