Skip to content

bottlerocketlabs/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

A tool to manage dotfiles with zero dependencies

Uses https://github.com/go-git/go-git instead of git

usage

# download a release onto your path

# output help
$ dotfiles --help

# clone repo https://github.com/bottlerocketlabs/.dotfiles.git to $HOME/.dotfiles
# if repository contains an executable script `/install`, run that
# if repository contains `/dotfiles.yaml` process and execute that config (see below)
$ dotfiles bottlerocketlabs
# same for https://github.com/bottlerocketlabs/my-dot-files.git to $HOME/.dotfiles
$ dotfiles bottlerocketlabs/my-dot-files
# same for explicit repo url to $HOME/.dotfiles
$ dotfiles https://gitlab.com/bottlerocketlabs/somerepo.git

# if $HOME/.dotfiles directory already exists and all files are unmodified, pull latest version, clean up if possible and rerun install process
$ dotfiles

config

Handles differences in OS darwin/linux

About

Download your remote dotfiles repo and setup your home directory

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors