Dotfiles on the move
- Clone repository using
git clone https://github.com/tperich/nomad
. - Enter the directory and install requirements using
pip3 install -r requirements.txt
. - Create a copy of config.example.yml called
config.yml
and place your dotfile paths inside. - Run
./nomad.py -u
to get the dotfiles from the system. - Run
./nomad.py -b
if you want to deploy dotfiles to the system.
Your dotfiles will be inside the dotfiles folder inside nomad directory.
Bootstrap dotfiles to system, create backups, and overwrite backups if they already exist.
./nomad.py -b --backup --overwrite
Deploy dotfiles using "ubuntu" profile.
./nomad.py -u -p ubuntu
Use a custom config.yml to update dotfiles from.
./nomad.py -u -c ~/Desktop/dotfile-config.yml
Print config and exit.
./nomad.py --show
- File/dir filtering based on .gitignore files
- Config for nomad
- Group backups into a single user-defined directory
- Support for achiving and/or compressing backup files
- Incremental mode
- Package nomad
-
add
command for "picking up" dotfiles from anywhere - Write tests & documentation
- Create issues for this instead of keeping it in the README
Note that we're using pip3
here for python3. Depending on your system you might want to use just pip
. You can check which version of python your pip uses by running pip -V
.