aboutsummaryrefslogtreecommitdiff
path: root/functions/utilities.zsh
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2018-04-14 04:58:10 +0300
committerGitHub <noreply@github.com>2018-04-14 04:58:10 +0300
commit7234d52ebd76b6b89e172ac5b19339f0a37ab596 (patch)
treefe44bd89e703f0d1ee939722efa92543bb281b31 /functions/utilities.zsh
parent4c919f1a2bca9d52271edebcbd5090423304afef (diff)
parentf066dc1cf71b9fe595a4b162853c28d486513c08 (diff)
Merge pull request #791 from dritter/local_variables
Make variables local
Diffstat (limited to 'functions/utilities.zsh')
-rwxr-xr-xfunctions/utilities.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/utilities.zsh b/functions/utilities.zsh
index 0f33a1b0..9a651a0b 100755
--- a/functions/utilities.zsh
+++ b/functions/utilities.zsh
@@ -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