Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/deifyed/dfctl
- Owner: deifyed
- Created: 2022-10-06T19:34:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T11:47:54.000Z (about 2 years ago)
- Last Synced: 2024-06-21T18:03:25.658Z (7 months ago)
- Language: Go
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```