xdg-ninja
Because you wouldn't let just anyone into your $HOME
A shell script which checks your $HOME for unwanted files and directories.
When it encounters a file it knows about, it will tell you whether it's possible to move this file to an appropriate location, and how to do it.
The configurations are from the arch wiki page on XDG_BASE_DIR, antidot (thanks to Scr0nch for writing a conversion tool), and contributed by other users.
Running
Using nix
If you're using nix and have flakes turned on, you can just run the following command:
nix run github:b3nj5m1n/xdg-ninja
Cloning Manually
Clone the repository somewhere, then run the ./xdg-ninja.sh script.
This will run every test in the default configuration.
Installing with Homebrew
To install xdg-ninja with Homebrew, run brew install xdg-ninja
to install the script and all of its dependencies, then run the xdg-ninja
command.
Dependencies
- your favorite POSIX-compliant shell (…