From 3c64f43f2dd5acf1fbf1cf1afab3df4407a23806 Mon Sep 17 00:00:00 2001 From: romkatv Date: Tue, 28 Jan 2020 07:41:42 +0100 Subject: [PATCH] make __p9k_byte_suffix readonly --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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