pathfix 0.1.2

Fixes the $PATH variable mess by generating it for you
pathfix-0.1.2 is not a library.
Visit the last successful build: pathfix-0.1.4-alpha.3

PathFIX

Fixes the PATH variable mess.

Pathfix will

  • remove duplicate entries in $PATH
  • automatically find other entries for $PATH

Build

clone the repo, compile it and install it:

cargo build --release
sudo cp target/release/pathfix /usr/local/bin/

Usage

Append at the end of .bashrc, .profile or similar:

export PATH=$(/path/to/pathfix)

Help

Output of pathfix --help

pathfix 1.0
Raphael Peters <raphael.r.peters@gmail.com>
Fixes the $PATH mess

USAGE:
    pathfix [FLAGS]

FLAGS:
    -d, --dedup             Deduplicates the path. Default set if -R is not set
    -h, --help              Prints help information
    -l, --lines             Outputs line by line instead of the default colon seperated list
    -R, --no-recommended    Disables recommended flags
    -V, --version           Prints version information