aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-28 09:41:42 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-28 09:41:42 +0300
commit3c64f43f2dd5acf1fbf1cf1afab3df4407a23806 (patch)
tree4897ecffa4dc708a06efeec6f0bf546c577138e5 /internal/p10k.zsh
parent286ba2a84b84747b72d05c11b50fc4789125b98e (diff)
make __p9k_byte_suffix readonly
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index a006d8c0..af5171a1 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -329,7 +329,7 @@ function _p9k_prompt_length() {
_p9k_ret=$x
}
-typeset -g __p9k_byte_suffix=('B' 'K' 'M' 'G' 'T' 'P' 'E' 'Z' 'Y')
+typeset -gr __p9k_byte_suffix=('B' 'K' 'M' 'G' 'T' 'P' 'E' 'Z' 'Y')
# 42 => 42B
# 1536 => 1.5K