dotfiles
is a tool to manage your dot-files symlinks in homedir.
Table of Contents
For installation instructions from binaries please visit the Releases Page.
$ go get github.com/juli3nk/dotfiles
$ dotfiles -h
Usage of bin/dotfiles:
-dry-run
don't modify anything, just print commands
-force
overwrite existing files
-list
list currently managed dotfiles
-name string
name of dotfiles repo (default "Dotfiles")
-profile string
name of the profile to use
-sync
update dotfile symlink
-version
print version and exit
Create a configuration file .dotfiles.yml
inside your dot-files repository.
---
common:
dirs:
- name: '.config'
- name: '.shell_custom.d'
ignore:
- '.git'
- '.gitignore'
- 'README.md'
- '.config'
- '.shell_custom.d'
templates:
template1:
ignore:
- '.i3'
- '.Xresources'
profiles:
me:
links:
- '.config/terminator'
- '.shell_custom.d/dockerfunc.sh'
nox:
include:
- 'template1'
Configurations common to all profiles.
Allows to create redundant configurations to be included in profiles.
Create directory in your home dir.
Create symlink for specific file.
Ignore the soft link creation.
Include template in a profile.
This project is licensed under the MIT License - see the LICENSE file for details.