mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
make __p9k_byte_suffix readonly
This commit is contained in:
parent
286ba2a84b
commit
3c64f43f2d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue