1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-17 21:30:07 +00:00

Fixes #122, SI prefixes should be evaluated as strings.

This commit is contained in:
Martin Pelikan 2015-10-18 00:11:24 -07:00
parent 38bccd1340
commit 8e458e5e9a

View file

@ -229,7 +229,7 @@ function print_icon() {
printSizeHumanReadable() {
local size=$1
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
# if the base is not Bytes