aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-10-22 02:54:10 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-10-22 02:54:10 +0300
commitb2e6beec514c6e186dd825a704dfdc399b0e60e4 (patch)
treecd0d5321b7f132d84b7a0b041f242bea524604fb
parent43d8b34a2159bfcb909db0ffbcb730fda4a80ed5 (diff)
parent8e458e5e9acac0766f4319eb7494f033201978a9 (diff)
Merge pull request #123 from martinpelikan/master
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 d078258a..a9ce64b1 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