mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Merge pull request #791 from dritter/local_variables
Make variables local
This commit is contained in:
commit
7234d52ebd
3 changed files with 9 additions and 6 deletions
|
|
@ -39,6 +39,7 @@ printSizeHumanReadable() {
|
|||
|
||||
# if the base is not Bytes
|
||||
if [[ -n $2 ]]; then
|
||||
local idx
|
||||
for idx in "${extension[@]}"; do
|
||||
if [[ "$2" == "$idx" ]]; then
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue