Add size-prefix config knob

This commit is contained in:
Pandu POLUAN 2024-02-28 11:10:11 +07:00
commit 8a2725a170
2 changed files with 27 additions and 0 deletions

View file

@ -47,6 +47,21 @@ If `true` (default), always add `-g` flag to show the group ownership.
Default: `true`
### `size-prefix`
```zsh
zstyle ':omz:plugins:eza' 'size-prefix' ('binary'|'none'|'si')
```
Choose the prefix to be used in displaying file size:
* `binary` -- use [binary prefixes](https://en.wikipedia.org/wiki/Binary_prefix) such as "Ki", "Mi", "Gi" and so on
* `none` -- don't use any prefix, show size in bytes
* `si` (default) -- use [Metric/S.I. prefixes](https://en.wikipedia.org/wiki/Metric_prefix)
Default: `si`
### `time-style`
```zsh