-
Grab ConfigGuard from this Gist.
# For deploying dotGuard curl -OJL 'https://gist.githubusercontent.com/dchakro/2bb714db3712f76610fe4f6ee2a82155/raw/deploy_Cerberus.sh' # For deploying etcGurad curl -OJL 'https://gist.githubusercontent.com/dchakro/2bb714db3712f76610fe4f6ee2a82155/raw/deploy_etcGuard.sh'
-
Make any necessary changes to the ConfigGuard.sh.
Tip : create a repo for dotGuard/Cerberus (one repo holds all devices as separate branches) and modify
deploy_Cerberus.sh
. For etcGuard (one repo for one device) and copy the remote URLs. -
Run ConfigGuard
bash deploy_Cerberus.sh
orbash deploy_etcGuard.sh
and add remote URLs for your repos (if you plan on using any). -
Run initial commit:
dotGuard add .bashrc .zshrc dotGuard commit -m "initial commit" dotGuard push -u origin master # the next step most likely will require sudo sudo etcGuard add -A etcGuard commit -m "initial commit" etcGuard push -u origin master
-
Enjoy the freedom of customixing your UNIX experience!
# From the second time onwards dotGuard add <file> dotGuard commit -m "commit message" dotGuard push sudo etcGuard add <file> etcGuard commit -m "commit message" etcGuard push
-
Remember that depending on your
rwx
permissions you may or may not have to usesudo
withetcguard
.
N.B. Tested to work on MacOS and Debian linux.