xdg-ninja icon indicating copy to clipboard operation
xdg-ninja copied to clipboard

Add option to hide unsupported files and directories

Open aflyingpumpkin opened this issue 2 years ago • 2 comments

As the title says. This would be useful for a couple of different uses cases, such as:

  • Users who use the command in watch to get live updates.
  • Users who want a de-cluttered output.

aflyingpumpkin avatar Jun 09 '22 17:06 aflyingpumpkin

This is a very good idea and definitely something I'd merge.

I'll probably implement this myself in a couple of days when I have the time, in the meantime I'm open to PRs.

Thanks for the suggestion!

b3nj5m1n avatar Jun 09 '22 18:06 b3nj5m1n

Gonna chime in with agreement on this. Had to quickly edit the script up to have $SKIP_IMMOVABLE, sorry for the badly named hack x3

Also another pain is that uhhh, well, it would be really nice to actually have the variable info separate or such, so that you could tell it to output a .bashrc/etc drop in file, with comments detailing what it is for, and if there are any possible caveats and commenting it out by default for that

Maybe also give a "migration" command too, like, just a bunch of mvs for supported dirs that don't have "gotchas"

SaphireLattice avatar Sep 25 '22 16:09 SaphireLattice

I'll probably implement this myself in a couple of days when I have the time

Well, sorry about that.

Anyways, it's implemented with 193c1d3 and fea5aa5, you can now use --skip-unsupported.

Let me know if you encounter any problems.

b3nj5m1n avatar Nov 05 '22 03:11 b3nj5m1n