mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
Fixes #122, SI prefixes should be evaluated as strings.
This commit is contained in:
parent
38bccd1340
commit
8e458e5e9a
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ function print_icon() {
|
||||||
printSizeHumanReadable() {
|
printSizeHumanReadable() {
|
||||||
local size=$1
|
local size=$1
|
||||||
local extension
|
local extension
|
||||||
extension=(B K M G T P E Z Y)
|
extension=('B' 'K' 'M' 'G' 'T' 'P' 'E' 'Z' 'Y')
|
||||||
local index=1
|
local index=1
|
||||||
|
|
||||||
# if the base is not Bytes
|
# if the base is not Bytes
|
||||||
|
|
Loading…
Reference in a new issue