Show hard link number only if > 1
Given that this number is always at least 1, then 1 becomes just visual noise and makes it harder to spot duplicates
We are mimicking gnu ls behavior here. The idea is to stick to it as much as we can.
The project explicitly states that
This project is a rewrite of GNU ls with lots of added features
I don't get how "mimicking" can be an argument against adding a new feature???
This along with https://github.com/Peltoche/lsd/issues/793, we should consider the usescases and can be added in under a flag(maybe under the same flag for both, something like hide-defaults). Also, besides just removing/hiding it, we can consider highlighting when there is more than one hardlink.
Thank you for reopening, flag/option is fine (though I still think it's a bad default), the usecase is eliminating useless info in the output + tiny space savings (if there are no values > 1, you save 2 characters of width :))
Re. highlighting:
2 in some color
is more visible than
1 in one color
2 in another color
so if you'd like to add colors, that'd be best as an extra option