place dotfiles here
| src | add path separator when defining git_path | |
| .gitignore | init rewrite | |
| Cargo.lock | init rewrite | |
| Cargo.toml | init rewrite | |
| LICENSE | init rewrite | |
| README.md | init rewrite | |
pdh - place dotfiles here
The "opinionated dotfile symlinker", because symlinking dotfiles by hand sucks.
Usage
Usage: pdh [OPTIONS] <DIR>
Arguments:
<DIR> Root directory to symlink
Options:
-i, --ignore <IGNORE> Pattern(s) to ignore, delimited by ','
-s, --status Print symlink status
-h, --help Print help
-V, --version Print version
By default, pdh will symlink the entire directory tree to the user's $HOME
directory (while recursively creating parent directories as necessary) for the
root directory specified. All $ROOT/.git directories are ignored.
Users can instruct pdh to ignore specific filepaths in the root
directory using the --ignore flag.
The --status flag will display the current symlink status. Green represents
an existing symlink in the $HOME directory, and red represents a missing
symlink.
Installation
Compile the pdh binary:
cargo build --release
Install to $CARGO_HOME using this one-liner:
cargo install --path .