Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: ISO units for size (MB, GB) #94

Open
Schweber opened this issue Jun 5, 2024 · 2 comments
Open

Feature Request: ISO units for size (MB, GB) #94

Schweber opened this issue Jun 5, 2024 · 2 comments

Comments

@Schweber
Copy link

Schweber commented Jun 5, 2024

I would like to have the sizes displayed in ISO/base 10 units (MB, GB, TB). All programs on my system use these units and it would be nice if i could set nix-tree to do the same, so that i have a homogenous display.

Could you please add a flag for that?

@utdemir
Copy link
Owner

utdemir commented Jun 5, 2024

I had never spent much thought to it - so though I'm happy to have the flag, what would be the pros/cons of switching to ISO units everywhere unconditionally? Do you think there's value keeping both - or should we just change them to ISO without any flags for the existing behaviour?

@Schweber
Copy link
Author

Schweber commented Jun 6, 2024

While ISO units technically are the standard, in the end it's a matter of habit and preference. I guess that if you change to ISO units unconditionally, you will upset some users.

If i were to decide, i would set ISO units as the default and provide a flag that changes to base 2 units. I'm fine with either solution, but please use a flag and not some keybind inside the program that one would have to press every time nix-tree is launched to get ones preferred setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants