deifyed / dfctl

Infect a filesystem with dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dfctl

Motivation

Need to handle dotfiles. Why not write some code

Usage

# Relink all tracked paths
dfctl relink

# Track a file or folder.
dfctl track <path>

# Untrack a file or folder.
dfctl untrack <path>

# List dfctled paths.
dfctl list

# Taint a certain path. Taint prevents a path from being relinked when running `dfctl relink`.
dfctl taint <path>

# Untaint a certain path. Untaint allows a path to be relinked when running `dfctl relink`.
infect untaint <path>

Install

To install, run make install. This will install the dfctl binary to ~/.local/bin. Make sure this directory is in your $PATH.

# Example
make build && make install

To change the installation directory, set the PREFIX environment variable.

# Example
make build && PREFIX=/usr/local make install

About

Infect a filesystem with dotfiles


Languages

Language:Go 92.0%Language:Makefile 8.0%