mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
make __p9k_byte_suffix readonly
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user