aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pelikan <martin.pel@gmail.com>2015-10-18 10:11:24 +0300
committerMartin Pelikan <martin.pel@gmail.com>2015-10-18 10:11:24 +0300
commit8e458e5e9acac0766f4319eb7494f033201978a9 (patch)
tree5410f27e99a3713f54d1c0abd8e46ed0e7f81ed1
parent38bccd1340389a26b75e92878bf61d6753df4462 (diff)
Fixes #122, SI prefixes should be evaluated as strings.
-rwxr-xr-xpowerlevel9k.zsh-theme2
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