https://github.com/jakeroggenbuck/pathfinder
A simple utility to view, edit, and search your $PATH
https://github.com/jakeroggenbuck/pathfinder
bash linux rust rust-lang
Last synced: 2 months ago
JSON representation
A simple utility to view, edit, and search your $PATH
- Host: GitHub
- URL: https://github.com/jakeroggenbuck/pathfinder
- Owner: JakeRoggenbuck
- License: mit
- Created: 2021-05-06T23:04:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T07:05:42.000Z (about 4 years ago)
- Last Synced: 2025-10-14T20:37:37.258Z (8 months ago)
- Topics: bash, linux, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pathfinder
A simple utility to view, edit, and search your $PATH
-------
## Usage
| Shorthand | Flag | Description |
|-----------|-------------|------------------------------------------------------------|
| `h` | `--help` | Display this page and exit |
| `v` | `--version` | Display the version and exit |
| `l` | `--list` | List all locations in $PATH (same as find with no keyword) |
| `f` | `--find` | Find locations in $PATH including search keyword |
| `a` | `--add` | Add location to the $PATH, and open a new bash prompt |
| `p` | `--purge` | Unsets everything in $PATH, it will be empty |
| `n` | `--number` | List locations in $PATH with numbers on side |
# Install
```
git clone https://github.com/JakeRoggenbuck/pathfinder
cargo install --path pathfinder
```