Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deifyed/dfctl

Infect a filesystem with dotfiles
https://github.com/deifyed/dfctl

Last synced: about 1 month ago
JSON representation

Infect a filesystem with dotfiles

Awesome Lists containing this project

README

        

# dfctl

## Motivation

Need to handle dotfiles. Why not write some code

## Usage

```shell
# Relink all tracked paths
dfctl relink

# Track a file or folder.
dfctl track

# Untrack a file or folder.
dfctl untrack

# List dfctled paths.
dfctl list

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

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

## Install

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

```shell
# Example
make build && make install
```

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

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