These are my dotfiles, as well as some common packages I have installed on my OS.
To install the dotfiles binary and all my configurations, simply run the following
curl https://raw.githubusercontent.com/craicoverflow/dotfiles/main/install.sh | bashThis will install the dotfiles binary and add it to your path.
To install the packages found in $DOTFILES_ROOT/config.yaml:
dotfiles installTo specify a custom YQ path, pass the
YQ_PATHenvironment variable:
YQ_PATH=$HOME/custom/bin/yq dotfiles installIf you wish to disable installation of some of these packages, add a config.local.yaml file to the $DOTFILES_ROOT folder, and only the configs you need to disable and set the value to false:
---
brew:
packages:
- neovim: true
+ neovim: false
- docker: true
+ docker: trueWhen there are updates to the dotfiles repo, you can compare the changes with your dotfiles before you apply them:
dotfiles diffIf you are happy with then changes, run the following command to update your dotfiles:
dotfiles applyIf you have a dotfile you would like to be managed by this repo, run dotfiles add <path/to/dotfile> <folder/in/dotfiles-repo>
$ dotfiles add ~/.config/gh/config.yml gh
Creating directory /Users/jdoe/dotfiles/ghTIP: Run
dotfiles add <from> <to> localto add a dotfile for this repo but ignore it in Git.
Run the following command to open the dotfiles in your preferred edit ($EDITOR):
dotfiles edit