See on GitHub

Pathfinder

A simple utility to view, edit, and search your $PATH


Usage

ShorthandFlagDescription
h--helpDisplay this page and exit
v--versionDisplay the version and exit
l--listList all locations in $PATH (same as find with no keyword)
f--findFind locations in $PATH including search keyword
a--addAdd location to the $PATH, and open a new bash prompt
p--purgeUnsets everything in $PATH, it will be empty
n--numberList locations in $PATH with numbers on side

Install

git clone https://github.com/JakeRoggenbuck/pathfinder
cargo install --path pathfinder