make __p9k_byte_suffix readonly

pull/450/head
romkatv 5 years ago
parent 286ba2a84b
commit 3c64f43f2d

@ -329,7 +329,7 @@ function _p9k_prompt_length() {
_p9k_ret=$x _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 # 42 => 42B
# 1536 => 1.5K # 1536 => 1.5K

Loading…
Cancel
Save