path-rationalization
Made by JeffAudit and clean shell PATH pollution in .bashrc, .zshrc, .zshenv, .profile. Use when PATH has junk, wrong binary resolves, temp dirs in PATH, or duplicates.
From Jeffrey's Skills.md: professionally crafted skills for any AI agent, installed and kept in sync by the jsm CLI. Subscription only, $20/month.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
1Updates, enhancements, and release notes for this skill.
New: PATH Rationalization: clean up your shell PATH without breaking your shell
Detects duplicate entries, stale temp dirs, wrong binary resolution order, and years of accumulated PATH cruft across .bashrc, .zshrc, .zshenv, and .profile.
- Audits every shell config file that touches PATH (.bashrc, .bash_profile, .zshrc, .zshenv, .zprofile, .profile) in one pass
- Identifies duplicates, temp-dir and fnm session junk, and shadowed binaries (type -a shows every copy)
- Removes junk, deduplicates, and fixes precedence ordering, putting each PATH entry in the file that loads at the right time
- Safety protocol: back up every file first, test the new PATH in a subshell before sourcing, and restore from backup if anything breaks