1 unstable release
0.1.0 | Apr 19, 2024 |
---|
#6 in #path-environment
8KB
153 lines
π§Ή Path Cleaner
If you've been using your PC for a few years, you've probably encountered a cluttered PATH variable with entries from uninstalled programs or outdated entries from program updates. Path Cleaner is a simple tool designed to help you quickly filter out duplicate and non-existent path entries.
πββοΈ Usage
- Open/run
path-cleaner.exe
or put it into PATH and runpath-cleaner
in your terminal of choice. - Choose the scope (*requires admin privileges)
- User -> cleans the current users PATH variable
- System* -> cleans the global PATH variable
- Both* -> cleans both the global & the current users PATH variable
- That's itπ
π€ What it does
Path Cleaner removes the following items from the requested scope:
- Non-existant paths
- Duplictes
This process supports variable expansion (e.g.
%WINDIR%
->C:\Windows
).
π To-Do
- Prefer path entries with more environment variables over constants
π« Feel free to contribute
Dependencies
~21β29MB
~414K SLoC