mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
make __p9k_byte_suffix readonly
This commit is contained in:
parent
286ba2a84b
commit
3c64f43f2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user