diff options
author | Martin Pelikan <martin.pel@gmail.com> | 2015-10-18 10:11:24 +0300 |
---|---|---|
committer | Martin Pelikan <martin.pel@gmail.com> | 2015-10-18 10:11:24 +0300 |
commit | 8e458e5e9acac0766f4319eb7494f033201978a9 (patch) | |
tree | 5410f27e99a3713f54d1c0abd8e46ed0e7f81ed1 /powerlevel9k.zsh-theme | |
parent | 38bccd1340389a26b75e92878bf61d6753df4462 (diff) |
Fixes #122, SI prefixes should be evaluated as strings.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index c2ee2625..f532cd99 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -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 |