mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
Merge pull request #123 from martinpelikan/master
Fixes #122, SI prefixes should be evaluated as strings.
This commit is contained in:
commit
b2e6beec51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user