1
0
Fork
You've already forked pdh
0
place dotfiles here
  • Rust 100%
2025年09月04日 21:24:48 -04:00
src add path separator when defining git_path 2025年09月04日 21:24:48 -04:00
.gitignore init rewrite 2025年09月02日 20:27:11 -04:00
Cargo.lock init rewrite 2025年09月02日 20:27:11 -04:00
Cargo.toml init rewrite 2025年09月02日 20:27:11 -04:00
LICENSE init rewrite 2025年09月02日 20:27:11 -04:00
README.md init rewrite 2025年09月02日 20:27:11 -04:00

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 .