This repository contains my shell configuration files, including my .zshrc, and a script to sync it with GitHub.
shell.sh: A script that copies my.zshrcfile to this repo and commits the changes automatically..zshrc: My personal Zsh configuration file.
To manually sync .zshrc to GitHub, run:
./sync.shYou can also set up a cron job for automatic syncing:
crontab -eAdd the following line:
*/30 * * * * ~/Code/shell/sync.sh >> ~/.shell_sync.log 2>&1This will sync .zshrc every 30 minutes.