Hacker GitHub

← All repos

b3nj5m1n/xdg-ninja

View on GitHub ↗ ★ 3,410 Haskell

A shell script which checks your $HOME for unwanted files and directories.

14 mentions on Hacker News by 13 people: 2 stories, 12 comments · first 2022-06-07 · latest 2026-06-18

Mentions per year 14 mentions · busiest year 2023 (4)
20082026
  1. …what program put which item in your $HOME and how to move it to ~/.config or $XDG_CONFIG_HOME. ‡: https://github.com/b3nj5m1n/xdg-ninja
    comment by RunningDroid · 2026-06-18 · in Migrating from GNU Stow to Chezmoi
  2. …your home directory and shows which of those directories you can change to a different location: https://github.com/b3nj5m1n/xdg-ninja I have a big shell config file that sets proper locations for all sort of programs I use:…
    comment by flexagoon · 2026-04-26 · in My .config Ship of Theseus
  3. ….bashrc .mozilla .profile .ssh bak config local pro src You can also be an xdg ninja if you want: https://github.com/b3nj5m1n/xdg-ninja Annoyingly, many programs hardcode ~/.config and ~/.local (instead of using XDG_CONFIG_HOME etc) and…
  4. You'd be interested in xdg-ninja: https://github.com/b3nj5m1n/xdg-ninja Like others said, fighting the clean HOME fight is just draining and futile in the end. This script helps you identify low hanging fruit, though, where you can change…
    comment by retrochameleon · 2024-12-21 · in Grayjay Desktop App
  5. …it will tell you whether it's possible to move it to the appropriate location, and how to do it. 1. https://github.com/b3nj5m1n/xdg-ninja
  6. …programs that use hardcoded names to fail spectacularly (instead of recreating the hidden dir). [0] https://github.com/b3nj5m1n/xdg-ninja
  7. …It doesn't work for everything, but most applications do seem to have such an option. [0] https://github.com/b3nj5m1n/xdg-ninja
  8. Regarding ~/.cargo (and other tools), I've had some success with following suggestions from https://github.com/b3nj5m1n/xdg-ninja
    comment by junkblocker · 2023-08-18 · in $HOME, not so sweet $HOME
  9. https://github.com/b3nj5m1n/xdg-ninja This utility has been a lifesaver to clean up my home directory.
    comment by PrayagS · 2023-03-24 · in Use the XDG Base Directory Specification
  10. …theres xdg-ninja [1] which assists you to make all your applications to follow the XDG specs. [1] https://github.com/b3nj5m1n/xdg-ninja
    comment by eliaspro · 2023-03-24 · in Use the XDG Base Directory Specification
  11. …was cooler I just let the application do it's thing so at least is somewhat predictable. [0]: https://github.com/b3nj5m1n/xdg-ninja [1]: https://github.com/DoodlesEpic/Dotfiles/blob/main/.profile
  12. There are shell scripts like xdg-ninja that can help with this: https://github.com/b3nj5m1n/xdg-ninja
    comment by wyclif · 2022-10-24 · in Dotfile madness (2019)