Parse your PATH variable and check the status of each path.
cargo install pathcheckNo more options at the moment. Releasing is tricky.
This will install the pathcheck command in $CARGO_HOME/bin/.
That folder should be on your
PATHvariable by the way.
To install elsewhere:
cargo install pathcheck --root /usr/local/bin$ pathcheck
OK /home/{user}/.cargo/bin
OK /home/{user}/.bun/bin
OK /usr/local/sbin
OK /usr/local/bin
OK /usr/sbin
OK /usr/bin
OK /sbin
OK /bin
OK /usr/games
OK /usr/local/games
ERR /snap/binThe --status-style flag let's you change the status text style between plain text (default), nerd font icons, emojis, or none.
The --no-status flag deactivates status calculations.
You can specify --header, --footer, --descriptions.
Display the line index with --enumerate.
Use the --color flag to change color behavior.
Use the --format flag to specify a different output format.
Run pathcheck --help for more information.
pathcheck -SThis program tries to exit with the code that corresponds to your system's standard. See errno for Linux-based systems and net helpmsg for Windows.
Exit code 0 means no errors.
- Release.
- Fixed a bug when exiting with a "not a directory" status code.
- Added formatting with the
--formatflag.
- Add man docs