Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bottlerocketlabs/dotfiles
Download your remote dotfiles repo and setup your home directory
https://github.com/bottlerocketlabs/dotfiles
dotfiles git
Last synced: about 1 month ago
JSON representation
Download your remote dotfiles repo and setup your home directory
- Host: GitHub
- URL: https://github.com/bottlerocketlabs/dotfiles
- Owner: bottlerocketlabs
- License: mit
- Created: 2021-01-13T23:43:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-13T09:00:52.000Z (almost 4 years ago)
- Last Synced: 2024-06-21T09:03:25.858Z (6 months ago)
- Topics: dotfiles, git
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
A tool to manage dotfiles with zero dependencies
Uses https://github.com/go-git/go-git instead of git
## usage
```sh
# 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
```yaml```