I'm using these sets of scripts to manage my environments. They can be used to configure OSX, Linux, and Android.
Everything is managed via chezmoi so installing it is the first step. Follow the chezmoi install guide.
Running setup.sh should handle all installations (including chezmoi) on OSX
These will be installed via the run_once_install-packages.sh.tmpl script if they're not already installed:
- Homebrew for installing the Mac OS X dependencies
- Homebrew Bundle is used to bundle up all Mac OS X dependencies
- Homebrew Cask is used for installing desktop Mac applications
- Xcode
No pre-requisites
- Termux: an Android terminal emulator and Linux environment application that works directly with no rooting or setup required
chezmoi init --apply --verbose https://github.com/woneill/dotfiles.git
chezmoi update
chezmoi unmanaged
# Add an existing file
chezmoi add <path_to_file>
# Edit a file already managed
chezmoi edit <path_to_file>
# Compare with current
chezmoi diff
# Apply the changes
chezmoi -v apply
# Commit updates to github
## Spawn shell in chezmoi directory
chezmoi cd
## Add new or changed files
git add -A
git commit -m "<commit message>"
git push
## Exit from spawned shell
exit